Box2D
2.2.1
Box2D API Reference for Kobold2D developers
|
#include <b2RopeJoint.h>
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.
The local anchor point relative to bodyA's origin.
The local anchor point relative to bodyB's origin.
float32 b2RopeJointDef::maxLength |
The maximum length of the rope. Warning: this must be larger than b2_linearSlop or the joint will have no effect.