RayCast3d/2D direction

godot-4

How do I get the direction of my ray? I want to make controls for flying a drone. If there is no ray solution, could you provide me with another solution? I am writing via Yandex translator

var ray_direction = $RayCast3D.target_position.normalized()
1 Like