Slide joints hold the distance between points on two bodies between a minimum and a maximum. More...
#import <ChipmunkConstraint.h>
Inherits ChipmunkConstraint.
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. | |
Slide joints hold the distance between points on two bodies between a minimum and a maximum.
Think of them as a telescoping ChipmunkPinJoint.
1.7.1