Search Unity

Raycasting against sphere collider < 0.70 radius misses

Discussion in 'Physics' started by benthroop, Nov 2, 2021.

  1. benthroop

    benthroop

    Joined:
    Jan 5, 2007
    Posts:
    263
    I have a strange situation where a sphere collider is not hit by a raycast if it is less than .70 units radius. So .699 misses, and .70 hits. It doesn't seem to matter what the distance of the check is, nor what the maxdistance of the raycast is.

    BTW I am using RaycastCommand and dispatching them via jobs. This is 2019.4.18.

    Upping the solver iterations from 6 to 12 (without restarting) did not fix it.

    Is this expected?