Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. 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

Is it possible to do things like Client Side Prediction currently?

Discussion in '2D Experimental Preview' started by foxnne, Jul 22, 2018.

  1. foxnne


    Apr 18, 2016
    I've been off and on working on a learning project using some simple networking. When I started, and built some systems to handle sending input to the server and simulating those movements on the server, I researched and built systems to perform client side prediction to reduce input latency.

    Then, I had to create a character controller using collision detection avoiding rigidbody movement because it was impossible to run physics simulations on rigid bodies on demand, as required when receiving resulting positions from the server.

    That said, is this possible now? Can you step the physics simulation whenever you wish, running previous inputs in a single frame for reconsiliation? How is this accomplished using built in unity features?