Gizmos and Handles
Hi there,
I am trying to reproduce the SphereCollider gizmo inside the scene view.
I tried using Gizmos.DrawWireSphere but the sphere shape is not the same as the one used in the SphereCollider or PointLight components.
I also tried using Handles.RadiusHandle and the shape is good but it doesn't take in account the depth and the occluders in the scene view.
Any idea how to get the same result as the SphereCollider ?
Thanks a lot.
screen.jpg
(93.3 kB)
Comment
Best Answer
Answer by MaT227 · Oct 17, 2016 at 08:22 AM
It seems that for the moment the best solution is to do it by hand like in this package https://www.assetstore.unity3d.com/en/#!/content/11396