I’m thinking about how to handle collision of projectile from towers to mobs, if I should at all.
What I’ve observed from other TD games is that every shot hits unless accuracy is implemented or mobs have some ability to avoid them. So far, I’m just using Pythagoras th(without sqrt) to determine the distance between the projectile and the mob but sometimes it will miss if the delta x and y is too fast, or too slow and the tower is far away.
Should I really be checking for collision at all, or should I interpolate the projectile to the next step(s) of the mob’s path/mob’s coords; or something different?
Thanks!