public interface TimeOfImpactListener extends Listener
Time of impact events are events fired when a collision was missed by the discrete collision detection routines, and then caught by the continuous collision detection routines.
Modification of the
World is not permitted during these methods.
boolean collision(Body body1, BodyFixture fixture1, Body body2, BodyFixture fixture2, TimeOfImpact toi)
Returning true from this method indicates that the collision of these
Bodys should be processed (solved).
The values of the
toi parameter can be changed in this method.