Untold Engine  Beta v0.0.16
docs
All Classes Functions Variables Modules Pages
U4DEngine::MassProperties Struct Reference

The MassProperties structure contains mass properties information of the 3D static model. More...

Public Attributes

float mass =0.0
 Mass of 3D model.
 
INERTIATENSORTYPE inertiaTensorType
 Inertia Tensor type of the static 3D model.
 
U4DVector3n centerOfMass
 Center of mass of the static 3D model.
 
U4DMatrix3n momentOfInertiaTensor
 Moment of inertia of static 3D model.
 
U4DMatrix3n inverseMomentOfInertiaTensor
 Inverse moment of inertia of the static 3D model.
 
bool intertiaTensorComputed
 Variable stating if the inertia tensor of the 3D static model has been computed.
 

Detailed Description

The MassProperties structure contains mass properties information of the 3D static model.