PlayRho  2.0.0
An interactive physics engine & library.
Library Defined Constraints

Constraints defined and used by the PlayRho library. More...

Collaboration diagram for Library Defined Constraints:

Modules

 Joint Classes
 The user creatable classes that specify constraints on one or more body instances.
 

Classes

class  playrho::Contact
 A potential contact between the children of two body associated shapes. More...
 

Detailed Description

Constraints defined and used by the PlayRho library.

Constraints remove degrees of freedom from bodies. A 2D body has 3 degrees of freedom: two translation coordinates and one rotation coordinate. If we take a body and pin it to the wall (like a pendulum) we have constrained the body to the wall. At this point the body can only rotate about the pin, so the constraint has removed 2 degrees of freedom.