Hello,
I am fairly new to NetCode. I am trying to make a moving platform that players will be parented to. I have given the platform a simple animation that moves it in a circle.
My issue is with syncing the location of the platform. When I start two instances of the game, the animation begins to run, I cannot start both instances of the game simultaneously, so the animations are not lined up. When I host on one instance of the game, the animation continues on with no problems. But when I join as a client, the clients platform animation does not update to where the host's platform currently is in it's animation.
The platform has the following components:
NetworkBehavior
Network Object
Network Trasnform
Animator
Network Animator referencing the other animator
I have tried looking at the documentation for Network Animator, and it says it's server authoritative by default. So I'm not sure why it's not looking at the server for the position in the animation.