I am working on a Real Time Strategy game and so far its taking shape a bit like Age of Empires, though thats not what I am after. What I am after for selection though is the same. I have basic selection through the use of
asked Apr 12 '12 at 12:57 PM
Well i have an answer for your deselecting. What you could do is cast a ray from your cameras centre and if it hits anything that is not tagged as say PlayerUnits(This would be units and buildings) then deselect the units. I dont know how you have this set up so i dont want to give you an example incase it is way off the mark, I hope this helps you mate and good luck.
answered Apr 12 '12 at 01:01 PM