- All Superinterfaces:
- All Known Implementing Classes:
public interface RaycastListener extends ListenerInterface for listening for raycast events.
Modification of the
Worldis not permitted inside these methods.
By default all methods should return true.
- William Bittle
boolean allow(Ray ray, Body body, BodyFixture fixture)Called before a
BodyFixtureis tested against the
Use this method to filter the ray casting based on the
boolean allow(Ray ray, Body body, BodyFixture fixture, Raycast raycast)Called after a successful raycast of the given
Use this method to filter the raycasting based on the