physics.rigid.center_of_mass_mode
Client
Enumeration of modes controlling how a rigid body's center of mass is determined
Values
| Constant | Description |
|---|---|
physics.rigid.center_of_mass_mode.AUTO | Center of mass is calculated automatically from the attached collision shapes |
physics.rigid.center_of_mass_mode.CUSTOM | Center of mass is set manually |
Examples
core.engine.print("info", physics.rigid.center_of_mass_mode.AUTO)