PhysicsRigidBodyLocalInertia Property |
The inertia tensor in local space.
Namespace:
Demo3D.Visuals
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 11.0.0.7658
Syntaxpublic Matrix LocalInertia { get; set; }Property Value
Type:
Matrix
Remarks
You can think of this as how the rigid body's mass in distributed around its center of
mass. Note that the translation part of the matrix is ignored since the inertia tensor
is assumed to be aligned with the origin of the rigid body's local frame.
Generally, it is a bad idea to set this property. The inertia tensor is automatically
calculated from the rigid body's geometry and this is usually what is wanted. However,
occasionally it may be desirable to tweak this property so as to more accurately reflect
the distribution of mass of a known object.
See Also