How do I make the camera follow KinematicBody in a 3D game in C#?

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

Right now my camera stays in the same position regardless of where my player goes. I want the camera to follow the player (which is of type KinematicBody). How do I do this in C#?

:bust_in_silhouette: Reply From: zhyrin

If the camera is a children of the player, it follows the player’s transform.

:bust_in_silhouette: Reply From: Animaliss

There is a RemoteTransform node for this.
(His child is on the player, and the camera can be anywhere)