public class GearJointDef extends JointDef
JointDef.JointType
Modifier and Type | Field and Description |
---|---|
Joint |
joint1
The first revolute/prismatic joint attached to the gear joint.
|
Joint |
joint2
The second revolute/prismatic joint attached to the gear joint.
|
float |
ratio
The gear ratio.
|
bodyA, bodyB, collideConnected, type
Constructor and Description |
---|
GearJointDef() |
public Joint joint1
public Joint joint2
public float ratio
for explanation.