Class pymunk.GrooveJoint

Joint --+
        |
       GrooveJoint
Similar to a pivot joint, but one of the anchors is on a linear slide instead of being fixed.

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)

Method Details

__init__

(Constructor) __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. anchr2 is an anchor point
Overrides:
Joint.__init__