public class GearJointDef
Gear joint definition. This definition requires two existing
revolute or prismatic joints (any combination will work).
The provided joints must attach a dynamic body to a static body.
Fields
public Joint joint1 | The first revolute/prismatic joint attached to the gear joint. |
public Joint joint2 | The second revolute/prismatic joint attached to the gear joint. |
public float ratio | Gear ratio. |
Constructors
public GearJointDef() |
Inherited fields
Inherited methods
Field details
joint1
public Joint joint1The first revolute/prismatic joint attached to the gear joint.
joint2
public Joint joint2The second revolute/prismatic joint attached to the gear joint.
ratio
public float ratioGear ratio.
See also
Constructor details
GearJointDef
public GearJointDef()