Sprite rotate and follow?

I’m trying to get my boss sprite to rotate so that it is always “facing” the player while following the player. Follow works for the chase, but the boss sprite always faces the same direction.

Is there any way to have the boss sprite dynamically rotate based on the position of the player?

1 Like

Yes there is! :grin:

I can think of two ways of doing this ...
  • We can use the boss velocity to determine if they’re moving right or left like this example. Just make sure you have a variable keeping track of their current direction!
  • You can also use the “Arcade character animations” extension just like I did for the player in the same example!

Hope this helps! :pray: