Box2D
2.2.1
Box2D API Reference for Kobold2D developers
|
#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).
The first revolute/prismatic joint attached to the gear joint.
The second revolute/prismatic joint attached to the gear joint.
float32 b2GearJointDef::ratio |
The gear ratio.