angle to vector2 godot code example Example: angle to vector2 godot var direction = Vector2(cos(angle), sin(angle))