Public Member Functions | |
b2Vec2 | GetAnchor1 () const |
Get the anchor point on body1 in world coordinates. | |
b2Vec2 | GetAnchor2 () const |
Get the anchor point on body2 in world coordinates. | |
b2Vec2 | GetReactionForce () const |
Get the reaction force on body2 at the joint anchor. | |
float32 | GetReactionTorque () const |
Get the reaction torque on body2. | |
float32 | GetRatio () const |
Get the gear ratio. |
Either joint can be a revolute or prismatic joint. You specify a gear ratio to bind the motions together: coordinate1 + ratio * coordinate2 = constant The ratio can be negative or positive. If one joint is a revolute joint and the other joint is a prismatic joint, then the ratio will have units of length or units of 1/length.