|
Box2D
2.2.1
A 2D Physics Engine for Games
|
#include <b2GearJoint.h>
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).
| float32 b2GearJointDef::ratio |
The gear ratio.
1.7.5.1