Class: btPoint2PointConstraint
Ammo.btPoint2PointConstraint
Hierarchy
↳
btPoint2PointConstraint
Constructors
Methods
- enableFeedback
- getBreakingImpulseThreshold
- setBreakingImpulseThreshold
- getParam
- setParam
- setPivotA
- setPivotB
- getPivotInA
- getPivotInB
- get_m_setting
- set_m_setting
Constructors
constructor
• new btPoint2PointConstraint(rbA
, rbB
, pivotInA
, pivotInB
): btPoint2PointConstraint
Parameters
Name | Type |
---|---|
rbA | btRigidBody |
rbB | btRigidBody |
pivotInA | btVector3 |
pivotInB | btVector3 |
Returns
Overrides
Defined in
• new btPoint2PointConstraint(rbA
, pivotInA
): btPoint2PointConstraint
Parameters
Name | Type |
---|---|
rbA | btRigidBody |
pivotInA | btVector3 |
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
setPivotA
▸ setPivotA(pivotA
): void
Parameters
Name | Type |
---|---|
pivotA | btVector3 |
Returns
void
Defined in
setPivotB
▸ setPivotB(pivotB
): void
Parameters
Name | Type |
---|---|
pivotB | btVector3 |
Returns
void
Defined in
getPivotInA
▸ getPivotInA(): btVector3
Returns
Defined in
getPivotInB
▸ getPivotInB(): btVector3
Returns
Defined in
get_m_setting
▸ get_m_setting(): btConstraintSetting
Returns
Defined in
set_m_setting
▸ set_m_setting(m_setting
): void
Parameters
Name | Type |
---|---|
m_setting | btConstraintSetting |
Returns
void