Note
by default the connected objects will not collide. see collideConnected in b2JointDef.
| Modifier and Type | Field and Description |
|---|---|
| public final Vector2 | localAnchorA
The local anchor point relative to bodyA's origin. |
| public final Vector2 | localAnchorB
The local anchor point relative to bodyB's origin. |
| public float | maxLength
The maximum length of the rope. |
| Access | Constructor and Description |
|---|---|
| public |
| localAnchorA | back to summary |
|---|---|
| public final Vector2 localAnchorA The local anchor point relative to bodyA's origin. | |
| localAnchorB | back to summary |
|---|---|
| public final Vector2 localAnchorB The local anchor point relative to bodyB's origin. | |
| maxLength | back to summary |
|---|---|
| public float maxLength The maximum length of the rope. Warning this must be larger than b2_linearSlop or the joint will have no effect. | |
| RopeJointDef | back to summary |
|---|---|
| public RopeJointDef() | |