Hi! I am creating a prototype for a game where the player controls a spacship that has to navigate through space from checkpoint to checkpoint.
I have my space and a checkpoint in the prototype level. The ship is successfully detecting the checkpoint. Now I want an indicator (an arrow) floating around the spaceship in a circular orbit, and I want that arrow to point to the checkpoint at all times.
But I don't know how to achieve that. I have added a child Sprite2D to the Ship scene and I've managed to make the arrow always point to the checkpoint, but the arrow itself doesn't move, it only rotates.
How can I make this work? (I'm still pretty rusty in vector math, I'm sure the answer is an easy one, but I can't find it...)