Module CP
In: doc_dummy.rb

Chipmunk Game Dynamics. Provides fast, easy to use, robust physics.

Methods

Classes and Modules

Module CP::Joint
Module CP::Shape
Class CP::BB
Class CP::Body
Class CP::Space
Class CP::Vect

Public Instance methods

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]