118 @property(nonatomic, assign)
cpVect anchorA;
121 @property(nonatomic, assign)
cpVect anchorB;
146 @property(nonatomic, assign)
cpVect anchorA;
149 @property(nonatomic, assign)
cpVect anchorB;
188 @property(nonatomic, assign)
cpVect anchorA;
191 @property(nonatomic, assign)
cpVect anchorB;
220 @property(nonatomic, assign)
cpVect grooveA;
222 @property(nonatomic, assign)
cpVect grooveB;
225 @property(nonatomic, assign)
cpVect anchorB;
253 @property(nonatomic, assign)
cpVect anchorA;
256 @property(nonatomic, assign)
cpVect anchorB;
ChipmunkBody * bodyB
The second ChipmunkBody the constraint controls.
Definition: ChipmunkConstraint.h:45
id userData
An object that this constraint is associated with.
Definition: ChipmunkConstraint.h:87
cpFloat phase
The angular offset in radians.
Definition: ChipmunkConstraint.h:371
cpFloat impulse
Get the most recent impulse applied by this constraint.
Definition: ChipmunkConstraint.h:78
cpFloat maxBias
Maximum rate (speed) that a joint can be corrected at (defaults to infinity).
Definition: ChipmunkConstraint.h:68
cpFloat ratchet
The angle in radians of each ratchet position. Negative values cause the ratchet to operate in the op...
Definition: ChipmunkConstraint.h:403
cpFloat rate
The relative rotation speed of the two bodies in radians per second.
Definition: ChipmunkConstraint.h:344
cpFloat min
The minimum allowed distance between anchor points.
Definition: ChipmunkConstraint.h:152
Rigid bodies are the basic unit of simulation in Chipmunk.
Definition: ChipmunkBody.h:29
Constrains the angle between two bodies.
Definition: ChipmunkConstraint.h:308
cpFloat stiffness
The young's modulus of the spring.
Definition: ChipmunkConstraint.h:296
cpFloat stiffness
The young's modulus of the spring.
Definition: ChipmunkConstraint.h:262
BOOL collideBodies
Whether or not the connected bodies should checked for collisions.
Definition: ChipmunkConstraint.h:75
ChipmunkSpace * space
Get the space the body is added to.
Definition: ChipmunkConstraint.h:81
double cpFloat
Chipmunk's floating point type.
Definition: chipmunk_types.h:83
Chipmunk spaces are simulation containers.
Definition: ChipmunkSpace.h:32
Ratchet joints create rotary ratches similar to a socket wrench.
Definition: ChipmunkConstraint.h:380
cpFloat damping
The amount of viscous damping to apply.
Definition: ChipmunkConstraint.h:299
cpFloat dist
The distance between the two anchor points that the joint keeps.
Definition: ChipmunkConstraint.h:124
cpFloat phase
The angular offset of the ratchet positions in radians.
Definition: ChipmunkConstraint.h:400
cpConstraint * constraint
Returns a pointer to the underlying cpConstraint C struct.
Definition: ChipmunkConstraint.h:39
Pin joints hold a set distance between points on two bodies.
Definition: ChipmunkConstraint.h:103
Definition: chipmunk_types.h:271
Gear joints constrain the rotational speed of one body to another.
Definition: ChipmunkConstraint.h:354
cpFloat maxForce
Maximum force this constraint is allowed to use (defalts to infinity).
Definition: ChipmunkConstraint.h:56
A spring with a damper.
Definition: ChipmunkConstraint.h:234
cpFloat errorBias
The rate at which joint error is corrected.
Definition: ChipmunkConstraint.h:62
Pivot joints hold two points on two bodies together allowing them to rotate freely around the pivot...
Definition: ChipmunkConstraint.h:163
cpFloat restLength
The length the spring wants to contract or expand to.
Definition: ChipmunkConstraint.h:259
Definition: chipmunk_private.h:385
cpFloat max
The maximum angular delta of the joint in radians.
Definition: ChipmunkConstraint.h:326
Constraints connect two ChipmunkBody objects together.
Definition: ChipmunkConstraint.h:33
cpFloat max
The maximum allowed distance between anchor points.
Definition: ChipmunkConstraint.h:155
cpFloat ratio
The ratio of the rotational speeds.
Definition: ChipmunkConstraint.h:373
Like a ChipmunkDampedSpring, but operates in a rotational fashion.
Definition: ChipmunkConstraint.h:273
cpFloat damping
The amount of viscous damping to apply.
Definition: ChipmunkConstraint.h:265
cpFloat restAngle
The angular offset the spring attempts to keep between the two bodies.
Definition: ChipmunkConstraint.h:293
Groove joints hold a pivot point on one body to line along a line segment on another like a pin in a ...
Definition: ChipmunkConstraint.h:199
ChipmunkBody * bodyA
The first ChipmunkBody the constraint controls.
Definition: ChipmunkConstraint.h:42
Slide joints hold the distance between points on two bodies between a minimum and a maximum...
Definition: ChipmunkConstraint.h:133
Simple motors make two objects spin relative to each other.
Definition: ChipmunkConstraint.h:335
cpFloat angle
The current ratchet position in radians.
Definition: ChipmunkConstraint.h:397
cpFloat min
The minimum angular delta of the joint in radians.
Definition: ChipmunkConstraint.h:323