Class: btDefaultMotionState
Ammo.btDefaultMotionState
Hierarchy
↳
btDefaultMotionState
Constructors
Methods
Constructors
constructor
• new btDefaultMotionState(startTrans?
, centerOfMassOffset?
): btDefaultMotionState
Parameters
Name | Type |
---|---|
startTrans? | btTransform |
centerOfMassOffset? | btTransform |
Returns
Overrides
Defined in
Methods
getWorldTransform
▸ getWorldTransform(worldTrans
): void
Parameters
Name | Type |
---|---|
worldTrans | btTransform |
Returns
void
Inherited from
btMotionState.getWorldTransform
Defined in
setWorldTransform
▸ setWorldTransform(worldTrans
): void
Parameters
Name | Type |
---|---|
worldTrans | btTransform |
Returns
void
Inherited from
btMotionState.setWorldTransform
Defined in
get_m_graphicsWorldTrans
▸ get_m_graphicsWorldTrans(): btTransform
Returns
Defined in
set_m_graphicsWorldTrans
▸ set_m_graphicsWorldTrans(m_graphicsWorldTrans
): void
Parameters
Name | Type |
---|---|
m_graphicsWorldTrans | btTransform |
Returns
void