Class: btConeTwistConstraint
Ammo.btConeTwistConstraint
Hierarchy
↳
btConeTwistConstraint
Constructors
Methods
- enableFeedback
- getBreakingImpulseThreshold
- setBreakingImpulseThreshold
- getParam
- setParam
- setLimit
- setAngularOnly
- setDamping
- enableMotor
- setMaxMotorImpulse
- setMaxMotorImpulseNormalized
- setMotorTarget
- setMotorTargetInConstraintSpace
Constructors
constructor
• new btConeTwistConstraint(rbA
, rbB
, rbAFrame
, rbBFrame
): btConeTwistConstraint
Parameters
Name | Type |
---|---|
rbA | btRigidBody |
rbB | btRigidBody |
rbAFrame | btTransform |
rbBFrame | btTransform |
Returns
Overrides
Defined in
• new btConeTwistConstraint(rbA
, rbAFrame
): btConeTwistConstraint
Parameters
Name | Type |
---|---|
rbA | btRigidBody |
rbAFrame | btTransform |
Returns
Overrides
btTypedConstraint.constructor
Defined in
Methods
enableFeedback
▸ enableFeedback(needsFeedback
): void
Parameters
Name | Type |
---|---|
needsFeedback | boolean |
Returns
void
Inherited from
btTypedConstraint.enableFeedback
Defined in
getBreakingImpulseThreshold
▸ getBreakingImpulseThreshold(): number
Returns
number
Inherited from
btTypedConstraint.getBreakingImpulseThreshold
Defined in
setBreakingImpulseThreshold
▸ setBreakingImpulseThreshold(threshold
): void
Parameters
Name | Type |
---|---|
threshold | number |
Returns
void
Inherited from
btTypedConstraint.setBreakingImpulseThreshold
Defined in
getParam
▸ getParam(num
, axis
): number
Parameters
Name | Type |
---|---|
num | number |
axis | number |
Returns
number
Inherited from
Defined in
setParam
▸ setParam(num
, value
, axis
): void
Parameters
Name | Type |
---|---|
num | number |
value | number |
axis | number |
Returns
void
Inherited from
Defined in
setLimit
▸ setLimit(limitIndex
, limitValue
): void
Parameters
Name | Type |
---|---|
limitIndex | number |
limitValue | number |
Returns
void
Defined in
setAngularOnly
▸ setAngularOnly(angularOnly
): void
Parameters
Name | Type |
---|---|
angularOnly | boolean |
Returns
void
Defined in
setDamping
▸ setDamping(damping
): void
Parameters
Name | Type |
---|---|
damping | number |
Returns
void
Defined in
enableMotor
▸ enableMotor(b
): void
Parameters
Name | Type |
---|---|
b | boolean |
Returns
void
Defined in
setMaxMotorImpulse
▸ setMaxMotorImpulse(maxMotorImpulse
): void
Parameters
Name | Type |
---|---|
maxMotorImpulse | number |
Returns
void
Defined in
setMaxMotorImpulseNormalized
▸ setMaxMotorImpulseNormalized(maxMotorImpulse
): void
Parameters
Name | Type |
---|---|
maxMotorImpulse | number |
Returns
void
Defined in
setMotorTarget
▸ setMotorTarget(q
): void
Parameters
Name | Type |
---|---|
q | btQuaternion |
Returns
void
Defined in
setMotorTargetInConstraintSpace
▸ setMotorTargetInConstraintSpace(q
): void
Parameters
Name | Type |
---|---|
q | btQuaternion |
Returns
void