Box2D 2.4.1
A 2D physics engine for games
|
#include <b2_joint.h>
Public Attributes | |
b2Body * | other |
provides quick access to the other body attached. | |
b2Joint * | joint |
the joint | |
b2JointEdge * | prev |
the previous joint edge in the body's joint list | |
b2JointEdge * | next |
the next joint edge in the body's joint list | |
A joint edge is used to connect bodies and joints together in a joint graph where each body is a node and each joint is an edge. A joint edge belongs to a doubly linked list maintained in each attached body. Each joint has two joint nodes, one for each attached body.