Hey guys. I'm have a strategy game where the units have a sphere collider to determine when any other nearby units are within firing range. But I want to allow the player to see the collider to determine the unit's range visually when inspecting the unit's stats.
Is there any way I can either create a mesh identical to the collider, that I can then render visually with a transparent material, or somehow make the collider visible? I tried centering a sphere with a transparent material on the unit's position, and then set the radius to the same as the sphere collider, but because of different scale values on the different units, the collider's radius is affected by the unit scale, so the collider and my new sphere aren't identical even with the same radius values.
Any help?