Chipmunk2D Unity Documentation | Main Page | Forum

Manual

Tutorials

API

Classes

Structs

Enumerations

ChipmunkBodyMomentMode

Enumeration

Editor enumeration used to specify how the moment of inertia of a ChipmunkBody should be calculated.


Values


CalculateFromShapesCalculate the moment of inertia from the shapes attached to the body (default).
DoNotRotateGive the body an infinite moment of inertia so it cannot rotate.
OverrideUse the custom moment of inertia value specified in the editor.