Skip to content

Class: btConeTwistConstraint

Ammo.btConeTwistConstraint

Hierarchy

Constructors

Methods

Constructors

constructor

new btConeTwistConstraint(rbA, rbB, rbAFrame, rbBFrame): btConeTwistConstraint

Parameters

NameType
rbAbtRigidBody
rbBbtRigidBody
rbAFramebtTransform
rbBFramebtTransform

Returns

btConeTwistConstraint

Overrides

btTypedConstraint.constructor

Defined in

packages/ammo/ammo.d.ts:582

new btConeTwistConstraint(rbA, rbAFrame): btConeTwistConstraint

Parameters

NameType
rbAbtRigidBody
rbAFramebtTransform

Returns

btConeTwistConstraint

Overrides

btTypedConstraint.constructor

Defined in

packages/ammo/ammo.d.ts:583

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


setLimit

setLimit(limitIndex, limitValue): void

Parameters

NameType
limitIndexnumber
limitValuenumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:584


setAngularOnly

setAngularOnly(angularOnly): void

Parameters

NameType
angularOnlyboolean

Returns

void

Defined in

packages/ammo/ammo.d.ts:585


setDamping

setDamping(damping): void

Parameters

NameType
dampingnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:586


enableMotor

enableMotor(b): void

Parameters

NameType
bboolean

Returns

void

Defined in

packages/ammo/ammo.d.ts:587


setMaxMotorImpulse

setMaxMotorImpulse(maxMotorImpulse): void

Parameters

NameType
maxMotorImpulsenumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:588


setMaxMotorImpulseNormalized

setMaxMotorImpulseNormalized(maxMotorImpulse): void

Parameters

NameType
maxMotorImpulsenumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:589


setMotorTarget

setMotorTarget(q): void

Parameters

NameType
qbtQuaternion

Returns

void

Defined in

packages/ammo/ammo.d.ts:590


setMotorTargetInConstraintSpace

setMotorTargetInConstraintSpace(q): void

Parameters

NameType
qbtQuaternion

Returns

void

Defined in

packages/ammo/ammo.d.ts:591

Released under the MIT License