Module CP::Shape
In: doc_dummy.rb

Collision shapes module.

Classes and Modules

Class CP::Shape::Circle
Class CP::Shape::Poly
Class CP::Shape::Segment

Attributes

body  [RW]  The CP::Body the shape is connected to.
collision_type  [RW]  The collision type for the shape. The actual collision type used is the object id of the object you pass as the collision type, meaning you can use any Ruby object as an identifier.
e  [RW]  The elasticity of the shape.
e  [RW]  The surface velocity of the shape.
u  [RW]  The frictional coefficient of the shape.

[Validate]