The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Box2D::b2ContactListener - 2D Physics Library Contact Listener

METHODS

Creation

new Box2D::b2ContactListener

Creates and returns a new b2Contactlistener. This is an inheritance friendly sub so you're free to leave it as default. Remember to call super in your own code, don't forget to call this!

Listener Methods

$listener->BeginContact( $contact )
$listener->EndContact( $contact )
$listener->PreSolve( $contact, $manifold )
$listener->PostSolve( $contact, $impulse )
$listener->setOurListeners()

This is private don't bother calling it unless you inherit and need to initialize. $self->{_listener} needs to be a PerlContactListener

1 POD Error

The following errors were encountered while parsing the POD:

Around line 58:

=over without closing =back