=head1 NAME Box2D::b2Joint - Base joint class. =head1 SYNOPSIS # Don't use this class directly, use a subclass. =head1 DESCRIPTION The base joint class. Joints are used to constraint two bodies together in various fashions. Some joints also feature limits and motors. =head1 METHODS =head2 GetAnchorA() Get the anchor point on bodyA in world coordinates. Implemented in C, C, C, C, C, C, C, C, and C. Returns a C =head2 GetAnchorB() Get the anchor point on bodyB in world coordinates. Implemented in C, C, C, C, C, C, C, C, and C. Returns a C =head2 GetBodyA() Get the first body attached to this joint. Returns a C =head2 GetBodyB() Get the second body attached to this joint. Returns a C =head2 GetNext() Get the next joint the world joint list. Returns a C =head2 GetReactionForce( $inv_dt ) Get the reaction force on body2 at the joint anchor in Newtons. Implemented in C, C, C, C, C, C, C, C, and C. Parameters: =over 4 =item * C C<$inv_dt> =back Returns a C =head2 GetReactionTorque( $inv_dt ) Get the reaction torque on body2 in N*m. Implemented in C, C, C, C, C, C, C, C, and C. Parameters: =over 4 =item * C C<$inv_dt> =back Returns a C =head2 GetType() Get the type of the concrete joint. Returns a C =head2 GetUserData() Get the user data pointer. =head2 IsActive() Short-cut function to determine if either body is inactive. Returns a C =head2 SetUserData( $data ) Set the user data pointer. Parameters: =over 4 =item * C C<$data> =back =head1 SEE ALSO =over 4 =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * L =back =head1 BUGS See L =head1 AUTHORS See L =head1 COPYRIGHT & LICENSE See L =cut