Godot Version
4.2
Question
With my dash ability, how am I supposed to rotate my sprite based on the direction that the player is heading towards? Is there a function in godot, or do I have to use trig?
No trig, it’s called rotate
Negative values will rotate right. Positive values will rotate left.
You just call the rotate every frame with a specific step amount of rotation. This step amount depends on how fast you want it to rotate.