=head1 NAME Box2D::b2FrictionJointDef - Friction joint definition. =head1 SYNOPSIS my $joint_def = Box2D::b2FrictionJointDef->new(); $joint_def->Initialize( $body_a, $body_b, $anchor ); $joint_def->maxForce( $max_force ); $joint_def->maxTorque( $max_torque ); my $joint = $world->CreateJoint( $joint_def ); =head1 DESCRIPTION Friction joint definition. =head1 METHODS =head2 new() Default constructor. Returns a C =head2 Initialize( $bodyA, $bodyB, $anchor ) Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis. Parameters: =over 4 =item * C C<$bodyA> =item * C C<$bodyB> =item * C C<$anchor> =back =head2 localAnchorA() =head2 localAnchorA( $localAnchorA ) The local anchor point relative to bodyA's origin. Parameters: =over 4 =item * C C<$localAnchorA> (optional) =back Returns a C =head2 localAnchorB() =head2 localAnchorB( $localAnchorB ) The local anchor point relative to bodyB's origin. Parameters: =over 4 =item * C C<$localAnchorB> (optional) =back Returns a C =head2 maxForce() =head2 maxForce( $maxForce ) The maximum friction force in N. Parameters: =over 4 =item * C C<$maxForce> (optional) =back Returns a C =head2 maxTorque() =head2 maxTorque( $maxTorque ) The maximum friction torque in N-m. Parameters: =over 4 =item * C C<$maxTorque> (optional) =back Returns a C =head1 SEE ALSO =over 4 =item * L =item * L =item * L =item * L =back =head1 BUGS See L =head1 AUTHORS See L =head1 COPYRIGHT & LICENSE See L =cut