So, I have a spawnpoint, each one spawns an enemy collision, then a sprite which it pins to the collision.
I want to change the animation of each sprite when its associated collision is moving (8 direction). I've got the movement working fine, they move as individual enemies but yet the problem is that they will ONLY change the animation when ALL instances of the collision are moving, and ALL instances change their animation, not just the ones that are actually moving.
What I want to do is have a sprite animate ONLY if the collision it's pinned to is moving.
I've tried assigning an ID instance variable and checking the sprite's ID matches the collision ID and it still works the same way.
Any help would be massively appreciated as this project WAS going so well until now! Thanks!