C# Class Box2D.Dynamics.Joints.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.
Inheritance: JointDef
Show file Open project: gerich-home/box2dnet

Public Properties

Property Type Description
Joint1 Joint
Joint2 Joint
Ratio float

Public Methods

Method Description
GearJointDef ( )

Method Details

GearJointDef() public method

public GearJointDef ( )

Property Details

Joint1 public property

The first revolute/prismatic joint attached to the gear joint.
public Joint,Box2D.Dynamics.Joints Joint1
return Joint

Joint2 public property

The second revolute/prismatic joint attached to the gear joint.
public Joint,Box2D.Dynamics.Joints Joint2
return Joint

Ratio public property

Gear ratio.
public float Ratio
return float