- Home /
Spherecast preview?
Hi.
I just started playing around with SphereCast and unlike RayCast I can't accurately preview it. I can use Debug.DrawRay or DrawLine, but all I see is of course a 1px line, which is not enough for me. I'd like to be able to see its radius as well. I'm thinking about creating 2 mesh spheres where one will have SphereCast's origin, and other one end point, and both of them will have its radius, so I can see start point and end point, but it wouldn't be precise. I hope there are better ways to do that. Any ideas?
Thanks.
I have this question as well. I want to be able to see the bounds on a spherecast in the scene.
I found this great explanation http://smilejsu.tistory.com/663, but my understanding didn't help me debug my issue.
Being able to view the sphere start to the end with a line along the ray path to the end sphere in scene would have made my problem immediately apparent.
I'll share my issue if ya want, but I didn't think was relevant.