Contents

CollisionCastQueryType.any

Report one hit.

Declaration

case any

Discussion

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