public class PulleyJointDef extends JointDef
JointDef.JointType
Modifier and Type | Field and Description |
---|---|
Vector2 |
groundAnchorA
The first ground anchor in world coordinates.
|
Vector2 |
groundAnchorB
The second ground anchor in world coordinates.
|
float |
lengthA
The a reference length for the segment attached to bodyA.
|
float |
lengthB
The a reference length for the segment attached to bodyB.
|
Vector2 |
localAnchorA
The local anchor point relative to bodyA's origin.
|
Vector2 |
localAnchorB
The local anchor point relative to bodyB's origin.
|
float |
ratio
The pulley ratio, used to simulate a block-and-tackle.
|
bodyA, bodyB, collideConnected, type
Constructor and Description |
---|
PulleyJointDef() |
public final Vector2 groundAnchorA
public final Vector2 groundAnchorB
public final Vector2 localAnchorA
public final Vector2 localAnchorB
public float lengthA
public float lengthB
public float ratio