public class GearJoint extends Joint
addr, jointEdgeA, jointEdgeB
Constructor and Description |
---|
GearJoint(World world,
long addr,
Joint joint1,
Joint joint2) |
Modifier and Type | Method and Description |
---|---|
Joint |
getJoint1()
Get first joint.
|
Joint |
getJoint2()
Get first joint.
|
float |
getRatio()
Get the gear ratio.
|
void |
setRatio(float ratio)
Set the gear ratio.
|
getAnchorA, getAnchorB, getBodyA, getBodyB, getCollideConnected, getReactionForce, getReactionTorque, getType, getUserData, isActive, setUserData