Added support so that the craft sees if a object is close or far away.
An object is closed if  its within firing range.

And i fixed the most embarrassing bug ever :/