- Home /
Question by
javierkos · Jun 01, 2016 at 06:04 AM ·
c#detectionspherecast
Physics.SphereCast to detect things below my character?
Hi, I am in the process of making a game where a sphere is my character. I want to be able to detect if there is something below my character, and at first I tried using Raycast, but this wasn't very useful because I want it to detect if the entirety of my character is on top of NOTHING. Im guessing SphereCast would do the job, but how should I implement it to return true/false if it detects nothing/something on ALL the diameter of the sphere.
Sorry for my somewhat confusing explanation, hope someone can help me out with this. Thanks in advance.
Comment