Home | Trees | Indices | Help |
|
---|
|
object --+ | Shape --+ | Circle
A circle shape defined by a radius
This is the fastest and simplest collision shape
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
radius The Radius of the circle |
|
offset Offset. |
|
body The body this shape is attached to (Inherited from pymunk.Shape) |
|
collision_type User defined collision type for the shape. (Inherited from pymunk.Shape) |
|
elasticity Elasticity of the shape. (Inherited from pymunk.Shape) |
|
friction Friction coefficient. (Inherited from pymunk.Shape) |
|
group Shapes in the same non-zero group do not generate collisions. (Inherited from pymunk.Shape) |
|
layers Shapes only collide if they are in the same bit-planes. (Inherited from pymunk.Shape) |
|
sensor A boolean value if this shape is a sensor or not. (Inherited from pymunk.Shape) |
|
surface_velocity The surface velocity of the object. (Inherited from pymunk.Shape) |
|
Inherited from |
Method Details |
|
Unsafe set the radius of the circle. WARNING: This change is only picked up as a change to the position of the shape's surface, but not it's velocity. Changing it will not result in realistic physical behavior. Only use if you know what you are doing! |
Unsafe set the offset of the circle. WARNING: This change is only picked up as a change to the position of the shape's surface, but not it's velocity. Changing it will not result in realistic physical behavior. Only use if you know what you are doing! |
Property Details |
radiusThe Radius of the circle
|
offsetOffset. (body space coordinates)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Mar 07 22:17:52 2010 | http://epydoc.sourceforge.net |