Home | Trees | Indices | Help |
|
---|
|
object --+ | Shape --+ | Segment
A line segment shape between two points
This shape can be attached to moving bodies, but don't currently generate collisions with other line segments. Can be beveled in order to give it a thickness.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
a One of the two endpoints for this segment |
|
b One of the two endpoints for this segment |
|
radius The thickness of the segment |
|
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 |
|
Property Details |
radiusThe thickness of the segment
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Mar 07 22:17:52 2010 | http://epydoc.sourceforge.net |