-
Notifications
You must be signed in to change notification settings - Fork 8
Network Replication
Network replication can be configured for State Machine Actor Components. State Machines are kept in sync by replicating the transitions across all clients. This way any special On Entered Transition logic can play out if needed on each client.
Configure which domain you want the State Machine to tick in.
Configure where transitions are evaluated. (The Can Enter Transition logic)
- If the server performs this it will then replicate to all clients.
- If a client performs this it will then inform the server which will replicate down to all clients.
Where general state logic will execute. This includes On Begin, On Update, and On End.
If a client evaluates that a transition can be taken it will always inform the server. By default it will then take the transition immediately and disregard the server update when it receives it. If this option is checked the client will instead wait for the server's update to take the transition.
Once a client sends a notice a transition can be taken it will wait up to this time for the server response before re-evaluating transitions and notifying the server again.