Chipmunk Game Dynamics. Provides fast, easy to use, robust physics.
Get the bias coefficient used for penetration resolution.
Set the bias coefficient used for penetration resolution.
Accumulate forces on the given bodies by connecting a spring between the anchors. Body local coordinates are used for the anchor locations.
Calculate the moment of inertia for a circle with the given mass, inner and outer radii, and offset. offset should be a CP::Vect.
Calculate the moment of inertia for a polygon with the given mass, vertexes, and offset. verts should be an Array of CP::Vect with a counterclockwise winding, offset should be a CP::Vect.
[Validate]