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.
|
group |
[RW] |
Shapes in the same non-nil collision group do not create collisions. Any
object can be used as a collision identifier.
|
layers |
[RW] |
A 32bit bitmask to set which layers the shape should collide in.
|
surface_v |
[RW] |
The surface velocity is used by the friction calculations. You can use this
to make conveyour belts or characters that walk. Interpreted in world
space.
|
u |
[RW] |
The frictional coefficient of the shape.
|