Hey everyone!

I'm trying to code a game for my college work but I'm struggling on a certain thing.

I need a Position2D Node to orbit around my character following the direction the mouse is facing, so I can spawn a weapon on that position, but I'm not doing a great job making that work.

Any idea on how to do that?