Box2D: b2GearJointDef Struct Reference

Box2D

b2GearJointDef Struct Reference

Gear joint definition. More...

Inheritance diagram for b2GearJointDef:

b2JointDef

List of all members.

Public Attributes

b2Jointjoint1
 The first revolute/prismatic joint attached to the gear joint.
b2Jointjoint2
 The second revolute/prismatic joint attached to the gear joint.
float32 ratio
 The gear ratio.

Detailed Description

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.


Member Data Documentation

The gear ratio.

See also:
b2GearJoint for explanation.


The documentation for this struct was generated from the following file:
  • b2GearJoint.h

Generated on Sun Apr 13 15:21:27 2008 for Box2D by  doxygen 1.5.4