Skip to content

Class: btGeneric6DofConstraint

Ammo.btGeneric6DofConstraint

Hierarchy

Constructors

Methods

Constructors

constructor

new btGeneric6DofConstraint(rbA, rbB, frameInA, frameInB, useLinearFrameReferenceFrameA): btGeneric6DofConstraint

Parameters

NameType
rbAbtRigidBody
rbBbtRigidBody
frameInAbtTransform
frameInBbtTransform
useLinearFrameReferenceFrameAboolean

Returns

btGeneric6DofConstraint

Overrides

btTypedConstraint.constructor

Defined in

packages/ammo/ammo.d.ts:560

new btGeneric6DofConstraint(rbB, frameInB, useLinearFrameReferenceFrameB): btGeneric6DofConstraint

Parameters

NameType
rbBbtRigidBody
frameInBbtTransform
useLinearFrameReferenceFrameBboolean

Returns

btGeneric6DofConstraint

Overrides

btTypedConstraint.constructor

Defined in

packages/ammo/ammo.d.ts:561

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


setLinearLowerLimit

setLinearLowerLimit(linearLower): void

Parameters

NameType
linearLowerbtVector3

Returns

void

Defined in

packages/ammo/ammo.d.ts:562


setLinearUpperLimit

setLinearUpperLimit(linearUpper): void

Parameters

NameType
linearUpperbtVector3

Returns

void

Defined in

packages/ammo/ammo.d.ts:563


setAngularLowerLimit

setAngularLowerLimit(angularLower): void

Parameters

NameType
angularLowerbtVector3

Returns

void

Defined in

packages/ammo/ammo.d.ts:564


setAngularUpperLimit

setAngularUpperLimit(angularUpper): void

Parameters

NameType
angularUpperbtVector3

Returns

void

Defined in

packages/ammo/ammo.d.ts:565


getFrameOffsetA

getFrameOffsetA(): btTransform

Returns

btTransform

Defined in

packages/ammo/ammo.d.ts:566

Released under the MIT License