Hi,
How do I debug physics.SphereCastAll ? I am using SphereCastAll to do some collision detections infront of my object. But its like working in the dark, filling in variables randomly without certainty what is actually happening ingame.
Thanks
Hi,
How do I debug physics.SphereCastAll ? I am using SphereCastAll to do some collision detections infront of my object. But its like working in the dark, filling in variables randomly without certainty what is actually happening ingame.
Thanks
You can use Gizmos.DrawWireSphere, or the less convenient Debug.DrawRay which has the advantage of showing you the exact frame SphereCastAll is used.