I have been trying to move the fps example to be 3rd person. So to do that i removed the MainEntityCamera that was being set on the ClientGameSystem. I then added a ControlledCamera Entity to the FirstPersonPlayer, I then instantiate the OrbitCamera from the 3rd person setup and assign it to the FirstPersonPlayer in both the ClientGameSystem, and the ServerGameSystem.
i also copied the player movement from ThirdPersonPlayerSystem into FirstPersonPlayerSystem because that uses the rotation from the OrbitCamera.
This works until i rotate the camera and both the OrbitCamera in the client and the server are out of sync from its position and rotation as soon as i rotate the camera.
How should i go about making the OrbitCamera sync correctly?
Is this the right way to go about this or should i change this up some other way?