Skip to content

Class: btFixedConstraint

Ammo.btFixedConstraint

Hierarchy

Constructors

Methods

Constructors

constructor

new btFixedConstraint(rbA, rbB, frameInA, frameInB): btFixedConstraint

Parameters

NameType
rbAbtRigidBody
rbBbtRigidBody
frameInAbtTransform
frameInBbtTransform

Returns

btFixedConstraint

Overrides

btTypedConstraint.constructor

Defined in

packages/ammo/ammo.d.ts:618

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