Chipmunk2D Unity Documentation | Main Page | Forum

Manual

Tutorials

API

Classes

Structs

Enumerations

ChipmunkBody.momentCalculationMode

var momentCalculationMode : ChipmunkBodyMomentMode

Description

How the moment of inertia should be calculated when the object is created.

The default value is ChipmunkBody.CalculateFromShapes. If you change this value, you'll need to call Chipmunk.UpdateTransform() on the GameObject to force it to reapply the moment calculations.