Rotate parent without affecting child

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

I have this player tree:

Player
  Body
  Sprite
  Camera2D

I want to make the Player node(Kinematic body2D) look at the mouse without affecting the sprite.

:bust_in_silhouette: Reply From: magicalogic

You may need to use a remote transform 2D node.
Check out the documentation on how to use it here. https://www.google.com/url?q=https://docs.godotengine.org/en/stable/classes/class_remotetransform2d.html&sa=U&ved=2ahUKEwjCwuep6onxAhVXglwKHbO9CZUQFjAAegQIChAB&usg=AOvVaw2VyRDOVLm2Aj3Wz6hGKj3k