how to see spherecast?

hello,

how is it possible to see a spherecast?

you’d have to render your own visualization of the spherecast based on the data you’re sending to the spherecast.

thank you,

i can simply instantiate an object an then put the objects transform.position to the hit.point…

but i do not exacly what the hit.point i want the center of the hit.point which from the sphere cast.
this picture should demonstate what i mean… is this possible in a simple way? i was able to do it through calculation but it doesnt work for all situation im hoping for something simpler and better…

i would think the hit.point would give the intersection of the 2 spheres

yes, you can
hm, if you don’t mind I post my asset here.

enable the youtube subtitle for more infomation

if you wanted to draw by your way, I can only share the Gizmos API I used on the video.
the rest is on your own.

5057492–496613–GizmosExtend.cs (27 KB)

7 Likes