#include <b2GearJoint.h>
Public Member Functions | |
| b2GearJointDef () | |
Public Attributes | |
| b2Joint * | joint1 |
| The first revolute/prismatic joint attached to the gear joint. | |
| b2Joint * | joint2 |
| The second revolute/prismatic joint attached to the gear joint. | |
| float32 | ratio |
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.
| b2GearJointDef::b2GearJointDef | ( | ) | [inline] |
The first revolute/prismatic joint attached to the gear joint.
The second revolute/prismatic joint attached to the gear joint.
The gear ratio.
1.6.3