Enumeration Case


Report one hit.


case any


This query type typically executes fastest, but doesn’t guarantee anything about which hit it returns. If you need the hit closest to the origin of the cast, use CollisionCastQueryType.nearest instead.

See Also

Collision Cast Queries

case nearest

Report the closest hit.

case all

Report all hits sorted in ascending order by distance from the cast origin.