Box2D  2.2.1
Box2D API Reference for Kobold2D developers
b2GearJointDef Struct Reference

#include <b2GearJoint.h>

+ Inheritance diagram for b2GearJointDef:
+ Collaboration diagram for b2GearJointDef:

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

Detailed Description

Gear joint definition. This definition requires two existing revolute or prismatic joints (any combination will work).


Member Data Documentation

The first revolute/prismatic joint attached to the gear joint.

The second revolute/prismatic joint attached to the gear joint.

The gear ratio.

See also:
b2GearJoint for explanation.

The documentation for this struct was generated from the following file: