I have a top down game. I have a base sprite that is the hitbox of my enemy AI then a sprite above that. I do not want the hit box rotating because it will cause problems with player melee animations.
I have used a 3rd sprite with turret behavior to determine angle every tick and depending on the angle/state is changes the animation. Is there a better way to do this? This will be a horde game so If I am having 100 enemies on the layout there will essentially be 300 plus objects in the scene. Will this start to cause a performance drop ?
Is this fine or is there a better way ?