Package org.jbox2d.dynamics.joints
Class RopeJointDef
java.lang.Object
org.jbox2d.dynamics.joints.JointDef
org.jbox2d.dynamics.joints.RopeJointDef
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
localAnchorA
The local anchor point relative to bodyA's origin. -
localAnchorB
The local anchor point relative to bodyB's origin. -
maxLength
public float maxLengthThe maximum length of the rope. Warning: this must be larger than b2_linearSlop or the joint will have no effect.
-
-
Constructor Details
-
RopeJointDef
public RopeJointDef()
-