Class: btTransform
Ammo.btTransform
Constructors
Methods
Constructors
constructor
• new btTransform(): btTransform
Returns
Defined in
• new btTransform(q
, v
): btTransform
Parameters
Name | Type |
---|---|
q | btQuaternion |
v | btVector3 |
Returns
Defined in
Methods
setIdentity
▸ setIdentity(): void
Returns
void
Defined in
setOrigin
▸ setOrigin(origin
): void
Parameters
Name | Type |
---|---|
origin | btVector3 |
Returns
void
Defined in
setRotation
▸ setRotation(rotation
): void
Parameters
Name | Type |
---|---|
rotation | btQuaternion |
Returns
void
Defined in
getOrigin
▸ getOrigin(): btVector3
Returns
Defined in
getRotation
▸ getRotation(): btQuaternion
Returns
Defined in
getBasis
▸ getBasis(): btMatrix3x3
Returns
Defined in
setFromOpenGLMatrix
▸ setFromOpenGLMatrix(m
): void
Parameters
Name | Type |
---|---|
m | readonly number [] |
Returns
void
Defined in
inverse
▸ inverse(): btTransform
Returns
Defined in
op_mul
▸ op_mul(t
): btTransform
Parameters
Name | Type |
---|---|
t | btTransform |