Jumping very jittery

Hey, Ive been having problems with jumping. Moving along the X-axis seems fine, but as soon as I jump, its extremely jittery and the character doesnt appear to reacht the actual height on other connected clients.

Im running it in 2D. Only sending the Position and Scale. The position is Lerping with Time.deltaTime * 8 or 10. Ping is around 90.

Comments

  • Hi,
    Did you try other options from DemoSynchronization or adjusting PhotonNetwork.sendRateOnSerialize?
    Probably jump trajectory (or at least horizontal position) can be easy calculated on each client with given initial position and velocity. In this case you get smooth movement and save bandwidth.
  • vadim said:

    Hi,
    Did you try other options from DemoSynchronization or adjusting PhotonNetwork.sendRateOnSerialize?
    Probably jump trajectory (or at least horizontal position) can be easy calculated on each client with given initial position and velocity. In this case you get smooth movement and save bandwidth.

    Welp, turned out to be me not syncing velocity. Thanks for the reply though!