LiquidFun
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Attributes | List of all members
b2GearJointDef Struct Reference

#include <b2GearJoint.h>

Inherits b2JointDef.

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
 
- Public Attributes inherited from b2JointDef
b2JointType type
 The joint type is set automatically for concrete joint types.
 
void * userData
 Use this to attach application specific data to your joints.
 
b2BodybodyA
 The first attached body.
 
b2BodybodyB
 The second attached body.
 
bool collideConnected
 Set this flag to true if the attached bodies should collide.
 

Detailed Description

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

Member Data Documentation

float32 b2GearJointDef::ratio

The gear ratio.

See Also
b2GearJoint for explanation.

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