Skip to content

Class: btTransform

Ammo.btTransform

Constructors

Methods

Constructors

constructor

new btTransform(): btTransform

Returns

btTransform

Defined in

packages/ammo/ammo.d.ts:106

new btTransform(q, v): btTransform

Parameters

NameType
qbtQuaternion
vbtVector3

Returns

btTransform

Defined in

packages/ammo/ammo.d.ts:107

Methods

setIdentity

setIdentity(): void

Returns

void

Defined in

packages/ammo/ammo.d.ts:108


setOrigin

setOrigin(origin): void

Parameters

NameType
originbtVector3

Returns

void

Defined in

packages/ammo/ammo.d.ts:109


setRotation

setRotation(rotation): void

Parameters

NameType
rotationbtQuaternion

Returns

void

Defined in

packages/ammo/ammo.d.ts:110


getOrigin

getOrigin(): btVector3

Returns

btVector3

Defined in

packages/ammo/ammo.d.ts:111


getRotation

getRotation(): btQuaternion

Returns

btQuaternion

Defined in

packages/ammo/ammo.d.ts:112


getBasis

getBasis(): btMatrix3x3

Returns

btMatrix3x3

Defined in

packages/ammo/ammo.d.ts:113


setFromOpenGLMatrix

setFromOpenGLMatrix(m): void

Parameters

NameType
mreadonly number[]

Returns

void

Defined in

packages/ammo/ammo.d.ts:114


inverse

inverse(): btTransform

Returns

btTransform

Defined in

packages/ammo/ammo.d.ts:115


op_mul

op_mul(t): btTransform

Parameters

NameType
tbtTransform

Returns

btTransform

Defined in

packages/ammo/ammo.d.ts:116

Released under the MIT License