Class: btGeneric6DofConstraint
Ammo.btGeneric6DofConstraint
Hierarchy
↳
btGeneric6DofConstraint
Constructors
Methods
- enableFeedback
- getBreakingImpulseThreshold
- setBreakingImpulseThreshold
- getParam
- setParam
- setLinearLowerLimit
- setLinearUpperLimit
- setAngularLowerLimit
- setAngularUpperLimit
- getFrameOffsetA
Constructors
constructor
• new btGeneric6DofConstraint(rbA
, rbB
, frameInA
, frameInB
, useLinearFrameReferenceFrameA
): btGeneric6DofConstraint
Parameters
Name | Type |
---|---|
rbA | btRigidBody |
rbB | btRigidBody |
frameInA | btTransform |
frameInB | btTransform |
useLinearFrameReferenceFrameA | boolean |
Returns
Overrides
Defined in
• new btGeneric6DofConstraint(rbB
, frameInB
, useLinearFrameReferenceFrameB
): btGeneric6DofConstraint
Parameters
Name | Type |
---|---|
rbB | btRigidBody |
frameInB | btTransform |
useLinearFrameReferenceFrameB | boolean |
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
setLinearLowerLimit
▸ setLinearLowerLimit(linearLower
): void
Parameters
Name | Type |
---|---|
linearLower | btVector3 |
Returns
void
Defined in
setLinearUpperLimit
▸ setLinearUpperLimit(linearUpper
): void
Parameters
Name | Type |
---|---|
linearUpper | btVector3 |
Returns
void
Defined in
setAngularLowerLimit
▸ setAngularLowerLimit(angularLower
): void
Parameters
Name | Type |
---|---|
angularLower | btVector3 |
Returns
void
Defined in
setAngularUpperLimit
▸ setAngularUpperLimit(angularUpper
): void
Parameters
Name | Type |
---|---|
angularUpper | btVector3 |
Returns
void
Defined in
getFrameOffsetA
▸ getFrameOffsetA(): btTransform