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

Feedback DOTS NetCode Non delayed Ghost Spawning

Discussion in 'NetCode for ECS' started by Jawsarn, Mar 25, 2020.

  1. Jawsarn

    Jawsarn

    Joined:
    Jan 12, 2017
    Posts:
    259
    Sometimes you want to spawn things that are not of the interpolated nature and want it to be spawned in the same tick as it was created. The current Instantiation methods doesn't allow this.

    Example: You have a projectile with a linear velocity. So instead of interpolating translation & rotation, you only send startpos + direction + velocity.

    Problem: If you have fast moving ghost entities spawning ghost entity projectiles, the positions won't match up on clients automagically.
     
    enativ and pal_trefall like this.