Box2D
view release on metacpan or search on metacpan
lib/pods/Box2D/b2ContactImpulse.pod view on Meta::CPAN
=head1 NAME
Box2D::b2ContactImpulse - Contact impulses for reporting.
=head1 SYNOPSIS
for my $i ( 0 .. $contact->GetManifold()->pointCount() - 1 ) {
my $impulse = $contactImpulse->normalImpulses( $i );
# Do something
}
=head1 DESCRIPTION
Contact impulses for reporting. Impulses are used instead of forces
because sub-step forces may approach infinity for rigid body
collisions. These match up one-to-one with the contact points in
C<Box2D::b2Manifold>.
=head1 METHODS
=head2 normalImpulses( $index )
Parameters:
=over 4
=item * C<int> C<$index>
=back
Returns a C<float32>
=head1 SEE ALSO
=over 4
=item * L<Box2D>
=item * L<Box2D::b2ContactListener>
=item * L<Box2D::b2Contact>
=item * L<Box2D::b2Manifold>
=back
=head1 BUGS
See L<Box2D/BUGS>
=head1 AUTHORS
See L<Box2D/AUTHORS>
=head1 COPYRIGHT & LICENSE
See L<Box2D/"COPYRIGHT & LICENSE">
=cut
( run in 1.091 second using v1.01-cache-2.11-cpan-5735350b133 )