Can someone give me an example of it? The example provided in the Unity Scripting Reference is much too confusing…
Give it a shot, telling us what you want to do with it, and what isn’t working for you. As the docs say, it’s like shooting a hot dog out and getting info about where it slimed something upon squish.
Well, copypasta from the docs, I get this:
It isn’t even running or attached to an object…
Copying from the docs isn’t doing anything for you (especially considering there is no example for SphereCast). Find out what you actually want to do with it and try coding that yourself.
I got it from here…
I know where you got it. Try reading the code. Do you see “SphereCast” in there anywhere?
I got it to work, thanks.