public interface RayCastCallback
World.raycast(RayCastCallback, Vec2, Vec2)| Modifier and Type | Method and Description |
|---|---|
float |
reportFixture(Fixture fixture,
Vec2 point,
Vec2 normal,
float fraction)
Called for each fixture found in the query.
|
float reportFixture(Fixture fixture, Vec2 point, Vec2 normal, float fraction)
fixture - the fixture hit by the raypoint - the point of initial intersectionnormal - the normal vector at the point of intersectionfraction - fractionCopyright © 2018. All rights reserved.