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:
    2,073
    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).
     
    RemusRain likes this.
  2. RemusRain

    RemusRain

    Joined:
    Mar 9, 2019
    Posts:
    16
    I would like to know the same