Package pymunk :: Module constraint
[frames] | no frames]

Module constraint

A constraint is something that describes how two bodies interact with each other. (how they constraint each other). Constraints can be simple joints that allow bodies to pivot around each other like the bones in your body, or they can be more abstract like the gear joint or motors.

Version: $Id: constraint.py 247 2010-01-16 17:57:18Z vb@viblo.se $

Classes
  Constraint
Base class of all constraints.
  PinJoint
Keeps the anchor points at a set distance from one another.
  SlideJoint
Like pin joints, but have a minimum and maximum distance.
  PivotJoint
Simply allow two objects to pivot about a single point.
  GrooveJoint
Similar to a pivot joint, but one of the anchors is on a linear slide instead of being fixed.
  DampedSpring
A damped spring
  DampedRotarySpring
Like a damped spring, but works in an angular fashion
  RotaryLimitJoint
Constrains the relative rotations of two bodies.
  RatchetJoint
Works like a socket wrench.
  GearJoint
Keeps the angular velocity ratio of a pair of bodies constant.
  SimpleMotor
Keeps the relative angular velocity of a pair of bodies constant.
Variables
  __package__ = 'pymunk'