Skip to content

Class: btDefaultMotionState

Ammo.btDefaultMotionState

Hierarchy

Constructors

Methods

Constructors

constructor

new btDefaultMotionState(startTrans?, centerOfMassOffset?): btDefaultMotionState

Parameters

NameType
startTrans?btTransform
centerOfMassOffset?btTransform

Returns

btDefaultMotionState

Overrides

btMotionState.constructor

Defined in

packages/ammo/ammo.d.ts:123

Methods

getWorldTransform

getWorldTransform(worldTrans): void

Parameters

NameType
worldTransbtTransform

Returns

void

Inherited from

btMotionState.getWorldTransform

Defined in

packages/ammo/ammo.d.ts:119


setWorldTransform

setWorldTransform(worldTrans): void

Parameters

NameType
worldTransbtTransform

Returns

void

Inherited from

btMotionState.setWorldTransform

Defined in

packages/ammo/ammo.d.ts:120


get_m_graphicsWorldTrans

get_m_graphicsWorldTrans(): btTransform

Returns

btTransform

Defined in

packages/ammo/ammo.d.ts:124


set_m_graphicsWorldTrans

set_m_graphicsWorldTrans(m_graphicsWorldTrans): void

Parameters

NameType
m_graphicsWorldTransbtTransform

Returns

void

Defined in

packages/ammo/ammo.d.ts:125