|
Is there a way to visibly see how large an overlap sphere is? As far as I can tell it given no indication of units for the radius given and since its an invisible physics object I can't really see how large it actually is. It keeps being to large and I can't tell how big it really is.
(comments are locked)
|
|
You can use the Gizmo DrawSphere to see the sphere in the Scene: http://unity3d.com/support/documentation/ScriptReference/Gizmos.DrawSphere.html That needs to go in the OnDrawGizmos or OnDrawGizmosSelected methods. If you want to see it in the Player, the easiest way would probably be to Instantiate a Sphere prefab at the exact same dimensions of your OverlapSphere. I do not think OverlapSphere has any kind of built in way of doing this.
(comments are locked)
|
