Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Resolved Netcode and Custom Simulations

Discussion in 'DOTS Dev Blitz Day 2022 - Q&A' started by Kmsxkuse, Dec 7, 2022.

  1. Kmsxkuse


    Feb 15, 2019
    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?
  2. NikiWalker


    Unity Technologies

    May 18, 2021
    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.
    Kmsxkuse likes this.