I am working on a small Tower Defense / Army Turret example game.?
My question is how do you get the Tower / Turret to know when the enemy is in range and start firing?
I was thinking of useing physics.queryRegion() or physics.rayCast.
But I wanted to get some feedback from others on this.
Also The game could have many towers and many enemys and would hate to manage lots of rayCast.
Side Note:
Next I’ll have to get it to turn towards the enemy
Thanks in advance.
Larry