So I’m making a game which rotates the 2D controlling character to change the level layout. I want to make it so that the camera rotates around the player. I tested some code from this post, but it only rotates the camera on its own axis.
Note: this is for a Game Jam that lasts until 1 April.
You can create a new Node3D (let’s call it a Pivot), make it a child of your Player, make your Camera3D a child of the Pivot and offset the Camera’s position back a little.
Now, when you rotate the Pivot, the Camera should move around the Player in a 3rd-person-view style