How to synchronize Timer
#904
-
I am using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Only ticks are guaranteed to be fully synchronized. In fact the client's simulation slightly speeds up/slows down to remain in sync with the server simulation, so I wouldn't trust Timer to run exactly the same on both. |
Beta Was this translation helpful? Give feedback.
What about just creating a component that holds
ms_since_epoch
or something and simply replicating that component?Or you could maybe register
Timer
directly in your protocol with a custom serialize/deserialize function that serializesms_since_epoch