In Physics.BoxCast, the variant that only returns one hit instead of all, is the collider returned guaranteed to be the closest one?
Thanks,
Gavin
In Physics.BoxCast, the variant that only returns one hit instead of all, is the collider returned guaranteed to be the closest one?
Thanks,
Gavin
Similar to raycast, it should use the first collider it hits
Yes, that’s the closest blocking hit (in physx speak)
Appreciate it!