- All Superinterfaces:
- All Known Implementing Classes:
@Deprecated public interface RaycastListener extends ListenerDeprecated.Deprecated in 4.0.0. Use the iterator methods in the World class instead.Interface 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)Deprecated.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)Deprecated.Called after a successful raycast of the given
Use this method to filter the raycasting based on the