anyKode Marilou
ContentsIndexHome
PreviousUpNext
Moda::Commons::Inertia Structure

Inertia information of a rigid body.

C++
struct Inertia {
  double Mass;
  MU8 bKinematic;
  MODAVECTOR3 Center;
  MODAVECTOR3 InertiaMatrix[3];
  MU32 Reserved[12];
};

modacommons.h

Members 
Description 
double Mass; 
Mass in Kg of the body. 
MU8 bKinematic; 
Indicates if the rigid body mode is kinematic (1) or dynamic (0). 
MODAVECTOR3 Center; 
Center of mass offset in the rigid body. 
MODAVECTOR3 InertiaMatrix[3]; 
Inertia matrix. 
Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!