=head1 NAME Box2D::b2JointDef - Used to construct joints. =head1 SYNOPSIS # Don't use this class directly, use a subclass. =head1 DESCRIPTION Joint definitions are used to construct joints. =head1 METHODS =head2 new() Default constructor. =head2 bodyA() =head2 bodyA( $bodyA ) The first attached body. Parameters: =over 4 =item * C C<$bodyA> (optional) =back Returns a C =head2 bodyB() =head2 bodyB( $bodyB ) The second attached body. Parameters: =over 4 =item * C C<$bodyB> (optional) =back Returns a C =head2 collideConnected() =head2 collideConnected( $collideConnected ) Set this flag to true if the attached bodies should collide. Parameters: =over 4 =item * C C<$collideConnected> (optional) =back Returns a C =head2 type() =head2 type( $type ) The joint type is set automatically for concrete joint types. Parameters: =over 4 =item * C C<$type> (optional) =back Returns a C =head2 userData() =head2 userData( $userData ) Use this to attach application specific data to your joints. Parameters: =over 4 =item * C C<$userData> (optional) =back Returns a C =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