- Home /
Question by
beverbende · Feb 19, 2021 at 07:25 PM ·
enemytilerangeturret
turret having a range of tiles
what would be the ideal solution to having a turret with a range of tiles. like, if there comes an enemy onto a certain tile that is within the range of the turret, it starts shooting the enemy as long as it is on the tile. i could give enemies a rigidbody and then use custom boxcolliders for the turret however i feel like there should be a better solution. example of what i want is like 'ultimate defense': https://www.kongregate.com/games/likwidgames/ultimate-defense
for example these mages and archers only shoot when an enemy comes onto one of the two tiles in front of them.
unnamed.jpg
(50.1 kB)
Comment
Your answer
Follow this Question
Related Questions
Enemy VISION range? Help! 0 Answers
How can I highlight tiles that are in Range of attack? 1 Answer
Enemy not detecting player 1 Answer