public class PulleyJoint extends Joint
addr, jointEdgeA, jointEdgeB
Constructor and Description |
---|
PulleyJoint(World world,
long addr) |
Modifier and Type | Method and Description |
---|---|
Vector2 |
getGroundAnchorA() |
Vector2 |
getGroundAnchorB() |
float |
getLength1()
Get the current length of the segment attached to body1.
|
float |
getLength2()
Get the current length of the segment attached to body2.
|
float |
getRatio()
Get the pulley ratio.
|
getAnchorA, getAnchorB, getBodyA, getBodyB, getCollideConnected, getReactionForce, getReactionTorque, getType, getUserData, isActive, setUserData
public PulleyJoint(World world, long addr)
public Vector2 getGroundAnchorA()
public Vector2 getGroundAnchorB()
public float getLength1()
public float getLength2()
public float getRatio()