#include <b2_gear_joint.h>
Public Member Functions | |
b2GearJointDef () | |
![]() | |
b2JointDef () | |
Public Attributes | |
b2Joint * | joint1 |
The first revolute/prismatic joint attached to the gear joint. More... | |
b2Joint * | joint2 |
The second revolute/prismatic joint attached to the gear joint. More... | |
float | ratio |
![]() | |
b2Body * | bodyA |
The first attached body. More... | |
b2Body * | bodyB |
The second attached body. More... | |
bool | collideConnected |
Set this flag to true if the attached bodies should collide. More... | |
b2JointType | type |
The joint type is set automatically for concrete joint types. More... | |
b2JointUserData | userData |
Use this to attach application specific data to your joints. More... | |
Gear joint definition. This definition requires two existing revolute or prismatic joints (any combination will work).
Definition at line 31 of file b2_gear_joint.h.
|
inline |
Definition at line 33 of file b2_gear_joint.h.
b2Joint* b2GearJointDef::joint1 |
The first revolute/prismatic joint attached to the gear joint.
Definition at line 42 of file b2_gear_joint.h.
b2Joint* b2GearJointDef::joint2 |
The second revolute/prismatic joint attached to the gear joint.
Definition at line 45 of file b2_gear_joint.h.
float b2GearJointDef::ratio |