I'm new to godot and currently working on a little game where there's a lot of objects which are supposed to be pointing at some specific points on the game map, and I'm trying to do that with look_at() but having some trouble with it :disappointed:
This is the code I was initially using
(the rotation correction here always doing a deg2rad calculation is supposed to be only temporary, it's pretty unoptimized to do this way lol)
And this is the result
It's supposed to be pointing completely towards that red godot icon, removing the correction also doesn't help as it's supposed to be facing something like upside down to the right, it doesn't do that here.

BUT I tried out a little makeshift solution by doing the angle calculation by myself

And it works perfectly this way
or almost perfectly lol
also, when I try calling global_position for a parented node it gives me some craaaazy numbers, having nothing to do with it's actual position I guess

and this is my current workaround
which gives me the correct position, PMPosition being the node for the little red godot sprite
Can someone explain what is happening here?