Best way to sync a value between Server and Client thats used for precise position on a timeline

mojo_andy
mojo_andy
edited May 2022 in Photon Bolt

I'm looking at syncing a value between the server and client that controls the timeline posiiton that moves along a sequence of actions. I've looked at setting the value in an entity on the server that is shared with the client. Also looked at sending the value in an event. And was wondering what would be the best method to update the float value that ranges from 0 to 50 so it syncs with both Server and Client. So you can think of this as like syncing the position on a video timeline as it plays a sequence of events. So that both client and server sync to the exact time position on this timline of events.

I'm using the latest version of Photon Bolt