public interface ParticleRaycastCallback
Modifier and Type | Method and Description |
---|---|
float |
reportParticle(int index,
Vec2 point,
Vec2 normal,
float fraction)
Called for each particle found in the query.
|
float reportParticle(int index, Vec2 point, Vec2 normal, float fraction)
index
- particle indexpoint
- the point of initial intersectionnormal
- the normal vector at the point of intersectionfraction
- fractionCopyright © 2018. All rights reserved.