Rotate toward position

I want the arrowhead to always point at the enemy, but it does weird things.

Hi, did you align the arrow with the arrow point to the east in the animation window? If it points to another direction it can give you weird results. Position 0 is to the right (or east).


(The image from the Gdevelop wiki β†’ this is how the sprite should be aligned by default).

The problem was I have to start to south, but with a faster rotate speed it’s fine. Thanks :+1:

1 Like