C# Class Box2DX.Dynamics.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
Afficher le fichier Open project: danielpcox/Crisis-at-Swiss-Station Class Usage Examples

Méthodes publiques

Свойство Type Description
Joint1 Joint
Joint2 Joint
Ratio float

Méthodes publiques

Méthode Description
GearJointDef ( ) : System

Method Details

GearJointDef() public méthode

public GearJointDef ( ) : System
Résultat System

Property Details

Joint1 public_oe property

The first revolute/prismatic joint attached to the gear joint.
public Joint,Box2DX.Dynamics Joint1
Résultat Joint

Joint2 public_oe property

The second revolute/prismatic joint attached to the gear joint.
public Joint,Box2DX.Dynamics Joint2
Résultat Joint

Ratio public_oe property

The gear ratio. @see GearJoint for explanation.
public float Ratio
Résultat float