#include <b2RopeJoint.h>
Public Member Functions | |
b2RopeJointDef () | |
Public Attributes | |
b2Vec2 | localAnchorA |
The local anchor point relative to bodyA's origin. | |
b2Vec2 | localAnchorB |
The local anchor point relative to bodyB's origin. | |
float32 | maxLength |
Rope joint definition. This requires two body anchor points and a maximum lengths. Note: by default the connected objects will not collide. see collideConnected in b2JointDef.
Definition at line 28 of file b2RopeJoint.h.
b2RopeJointDef::b2RopeJointDef | ( | ) | [inline] |
Definition at line 30 of file b2RopeJoint.h.
The local anchor point relative to bodyA's origin.
Definition at line 39 of file b2RopeJoint.h.
The local anchor point relative to bodyB's origin.
Definition at line 42 of file b2RopeJoint.h.
The maximum length of the rope. Warning: this must be larger than b2_linearSlop or the joint will have no effect.
Definition at line 47 of file b2RopeJoint.h.