Package pymunk :: Class GrooveJoint
[frames] | no frames]

Class GrooveJoint

object --+    
         |    
     Joint --+
             |
            GrooveJoint

Similar to a pivot joint, but one of the anchors is on a linear slide instead of being fixed.
Instance Methods
 
__init__(self, a, b, groove_a, groove_b, anchr2)
a and b are the two bodies to conenct, groove_a and groove_b is two points or vectors or something.
 
__del__(self) (Inherited from pymunk.Joint)

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

__init__(self, a, b, groove_a, groove_b, anchr2)
(Constructor)

 
a and b are the two bodies to conenct, groove_a and groove_b is two points or vectors or something. anchr2 is an anchor point
Overrides: object.__init__