Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Box2DX
Dynamics
GearJointDef
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
Datei anzeigen
Open project: danielpcox/Crisis-at-Swiss-Station
Class Usage Examples
Public Properties
Property
Type
Description
Joint1
Joint
Joint2
Joint
Ratio
float
Public Methods
Method
Description
GearJointDef
( ) :
System
Method Details
GearJointDef()
public
method
public
GearJointDef
( ) :
System
return
System
Property Details
Joint1
public_oe property
The first revolute/prismatic joint attached to the gear joint.
public
Joint,Box2DX.Dynamics
Joint1
return
Joint
Joint2
public_oe property
The second revolute/prismatic joint attached to the gear joint.
public
Joint,Box2DX.Dynamics
Joint2
return
Joint
Ratio
public_oe property
The gear ratio. @see GearJoint for explanation.
public
float
Ratio
return
float