Class: btFixedConstraint
Ammo.btFixedConstraint
Hierarchy
↳
btFixedConstraint
Constructors
Methods
Constructors
constructor
• new btFixedConstraint(rbA
, rbB
, frameInA
, frameInB
): btFixedConstraint
Parameters
Name | Type |
---|---|
rbA | btRigidBody |
rbB | btRigidBody |
frameInA | btTransform |
frameInB | btTransform |
Returns
Overrides
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