| Modifier and Type | Field and Description |
|---|---|
| public final Vector2 | groundAnchorA
The first ground anchor in world coordinates. |
| public final Vector2 | groundAnchorB
The second ground anchor in world coordinates. |
| public float | lengthA
The a reference length for the segment attached to bodyA. |
| public float | lengthB
The a reference length for the segment attached to bodyB. |
| 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. |
| private static final float | |
| public float | ratio
The pulley ratio, used to simulate a block-and-tackle. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| groundAnchorA | back to summary |
|---|---|
| public final Vector2 groundAnchorA The first ground anchor in world coordinates. This point never moves. | |
| groundAnchorB | back to summary |
|---|---|
| public final Vector2 groundAnchorB The second ground anchor in world coordinates. This point never moves. | |
| lengthA | back to summary |
|---|---|
| public float lengthA The a reference length for the segment attached to bodyA. | |
| lengthB | back to summary |
|---|---|
| public float lengthB The a reference length for the segment attached to bodyB. | |
| 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. | |
| minPulleyLength | back to summary |
|---|---|
| private static final float minPulleyLength | |
| ratio | back to summary |
|---|---|
| public float ratio The pulley ratio, used to simulate a block-and-tackle. | |
| PulleyJointDef | back to summary |
|---|---|
| public PulleyJointDef() | |