ChipmunkBody
Class : Inherits from MonoBehaviour
A ChipmunkBody is the Chipmunk equivalent of Unity's Ridigbody component.
Variables
momentCalculationMode | How the moment of inertia should be calculated when the object is created. |
interpolationMode | How the transform position should be set before Update() methods are called. |
mass | Mass of the body. |
moment | Moment of inertia of the body. |
position | Position of the rigid body. |
angle | Angle of the body in radians. |
velocity | Linear velocity of the rigid body's center of gravity. |
force | Force applied to the rigid body's center of gravity. |
angularVelocity | Angular velocity of the rigid body in radians/second. |
torque | Torque applied to the rigid body. |
velocityLimit | Linear velocity limit for the body. |
angularVelocityLimit | Angular velocity limit for the body in radians/second. |
cogOffset | Center of gravity position relative to rigid body's parent transform. |
isKinematic | Is the rigid body kinematic or not. |
isSleeping | Is the rigid body sleeping or not. |
kineticEnergy | Get the kinetic energy of the rigid body. |
Functions: