Search Unity

Is SphereCast guaranted to return the closest hit.

Discussion in 'Physics' started by koirat, Aug 22, 2019.

  1. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    89
    Is spherecast working the same as raycast ?
    Will it always return the first hit closest to origin, I'm talking about situation when colliders are very close to each other (almost overlapping).