Class pymunk.PinJoint

Joint --+
        |
       PinJoint
Keeps the anchor points at a set distance from one another.

Methods

  __init__(self, a, b, anchr1, anchr2)
a and b are the two bodies to connect, and anchr1 and anchr2 are the anchor points on those bodies.
  __del__(self) (Inherited from pymunk.Joint)

Method Details

__init__

(Constructor) __init__(self, a, b, anchr1, anchr2)
a and b are the two bodies to connect, and anchr1 and anchr2 are the anchor points on those bodies.
Overrides:
Joint.__init__