Netcode and Custom Simulations

I am currently implementing a networked eulerian fluid simulation on the server and was wondering where I should put the relevant systems.

Should I place it at root SimulationSystemGroup or inside the predicted simulation group?

It depends entirely on whether or not you want the clients to be able to predict changes to the fluid simulation.

I.e. Do clients interact in realtime with the sim? Then yes, you’d likely want to predict it (although it sounds quite expensive).

Or are clients observers? Then no, have it interpolate.

1 Like