I need to shoot a ray cast from my ship and have it find the closest enemy best to the raycast, not just the raycast point.
Have you tried this: http://unity3d.com/support/documentation/ScriptReference/Physics.SphereCast.html
I need to shoot a ray cast from my ship and have it find the closest enemy best to the raycast, not just the raycast point.
Have you tried this: http://unity3d.com/support/documentation/ScriptReference/Physics.SphereCast.html