Position2D Not Rotating With Parent

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ThreeSpark

I am using look_at to make a Node2D look at my mouse. This is all working fine and dandy, but the Position2D that is a child of the Node2D is not following the rotation of the Node2D, but the sprite (which is a stick, but will be an arrow in the following diagram) does rotate with its parent. Basically, I want it to look something like this:


Mouse Position2D < --------


But instead the Position2D does not move at all. Help?

That seems like a good setup. Can you share more information? Screenshot of the tree, share your look_at() code, etc. It’s hard to answer without knowing more.

kidscancode | 2018-11-18 17:33