b2MouseJoint Class Reference
A mouse joint is used to make a point on a body track a specified world point. More...
Inheritance diagram for b2MouseJoint:
Public Member Functions | |
b2Vec2 | GetAnchor1 () const |
Implements b2Joint. | |
b2Vec2 | GetAnchor2 () const |
Implements b2Joint. | |
b2Vec2 | GetReactionForce () const |
Implements b2Joint. | |
float32 | GetReactionTorque () const |
Implements b2Joint. | |
void | SetTarget (const b2Vec2 &target) |
Use this to update the target point. |
Detailed Description
A mouse joint is used to make a point on a body track a specified world point.This a soft constraint with a maximum force. This allows the constraint to stretch and without applying huge forces.
The documentation for this class was generated from the following files:
- b2MouseJoint.h
- b2MouseJoint.cpp
Generated on Sun Apr 13 15:21:27 2008 for Box2D by 1.5.4