- Home /
Question by
unity_B0D1D7286807C37E045C · Jan 29 at 12:33 PM ·
c#physicsprogramminghowoverlapsphere
Physics.OverLapSphere is not working Please help me to fix it or replace it
if (Physics.OverLapSphere(groundCheckTransform.position, 0.1f).length == 0) { RotateByDegrees(); }
Comment
Please provide some more details. What does "not working" mean? Is there an error? does it simply never restult in true?
Are you sure that there are enabled colliders in range of this rather small radius? Can you share a screenshot?