Public Member Functions | Static Public Member Functions | Properties

ChipmunkSlideJoint Class Reference

Slide joints hold the distance between points on two bodies between a minimum and a maximum. More...

#import <ChipmunkConstraint.h>

Inherits ChipmunkConstraint.

List of all members.

Public Member Functions

(id) - initWithBodyA:bodyB:anchr1:anchr2:min:max:
 Initialize a slide joint between the two bodies with the given anchor points and distance range.

Static Public Member Functions

(ChipmunkSlideJoint *) + slideJointWithBodyA:bodyB:anchr1:anchr2:min:max:
 Create an autoreleased slide joint between the two bodies with the given anchor points and distance range.

Properties

cpVect anchr1
 The anchor point on the first body.
cpVect anchr2
 The anchor point on the second body.
cpFloat min
 The minimum allowed distance between anchor points.
cpFloat max
 The maximum allowed distance between anchor points.

Detailed Description

Slide joints hold the distance between points on two bodies between a minimum and a maximum.

Think of them as a telescoping ChipmunkPinJoint.


The documentation for this class was generated from the following file:
 All Classes Functions Variables Properties