|
Call this function to set the inertia tensor of the object. The inertia tensor will be calculated for a solid box with the current mass of the dynamic object. This function will also change the center offset to the center of the box. - See also:
- TA::DynamicObject::GetInverseInertia, TA::DynamicObject::GetWorldSpaceInertia, TA::DynamicObject::GetWorldSpaceInverseInertia, TA::DynamicObject::SetInertiaFromBox(const AABB& aabb) and TA::DynamicObject::SetInertiaFromBox(float fX, float fY, float fZ).
- Parameters:
-
- Returns:
- The inertia tensor of the object in local space.
|