Skip to content

Class: btPoint2PointConstraint

Ammo.btPoint2PointConstraint

Hierarchy

Constructors

Methods

Constructors

constructor

new btPoint2PointConstraint(rbA, rbB, pivotInA, pivotInB): btPoint2PointConstraint

Parameters

NameType
rbAbtRigidBody
rbBbtRigidBody
pivotInAbtVector3
pivotInBbtVector3

Returns

btPoint2PointConstraint

Overrides

btTypedConstraint.constructor

Defined in

packages/ammo/ammo.d.ts:550

new btPoint2PointConstraint(rbA, pivotInA): btPoint2PointConstraint

Parameters

NameType
rbAbtRigidBody
pivotInAbtVector3

Returns

btPoint2PointConstraint

Overrides

btTypedConstraint.constructor

Defined in

packages/ammo/ammo.d.ts:551

Methods

enableFeedback

enableFeedback(needsFeedback): void

Parameters

NameType
needsFeedbackboolean

Returns

void

Inherited from

btTypedConstraint.enableFeedback

Defined in

packages/ammo/ammo.d.ts:542


getBreakingImpulseThreshold

getBreakingImpulseThreshold(): number

Returns

number

Inherited from

btTypedConstraint.getBreakingImpulseThreshold

Defined in

packages/ammo/ammo.d.ts:543


setBreakingImpulseThreshold

setBreakingImpulseThreshold(threshold): void

Parameters

NameType
thresholdnumber

Returns

void

Inherited from

btTypedConstraint.setBreakingImpulseThreshold

Defined in

packages/ammo/ammo.d.ts:544


getParam

getParam(num, axis): number

Parameters

NameType
numnumber
axisnumber

Returns

number

Inherited from

btTypedConstraint.getParam

Defined in

packages/ammo/ammo.d.ts:545


setParam

setParam(num, value, axis): void

Parameters

NameType
numnumber
valuenumber
axisnumber

Returns

void

Inherited from

btTypedConstraint.setParam

Defined in

packages/ammo/ammo.d.ts:546


setPivotA

setPivotA(pivotA): void

Parameters

NameType
pivotAbtVector3

Returns

void

Defined in

packages/ammo/ammo.d.ts:552


setPivotB

setPivotB(pivotB): void

Parameters

NameType
pivotBbtVector3

Returns

void

Defined in

packages/ammo/ammo.d.ts:553


getPivotInA

getPivotInA(): btVector3

Returns

btVector3

Defined in

packages/ammo/ammo.d.ts:554


getPivotInB

getPivotInB(): btVector3

Returns

btVector3

Defined in

packages/ammo/ammo.d.ts:555


get_m_setting

get_m_setting(): btConstraintSetting

Returns

btConstraintSetting

Defined in

packages/ammo/ammo.d.ts:556


set_m_setting

set_m_setting(m_setting): void

Parameters

NameType
m_settingbtConstraintSetting

Returns

void

Defined in

packages/ammo/ammo.d.ts:557

Released under the MIT License