Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

VR Controller movement is delayed / moving slowly or not updating frequently enough

Discussion in 'Netcode for GameObjects' started by OvrSimon, Sep 8, 2022.

  1. OvrSimon

    OvrSimon

    Joined:
    Nov 16, 2021
    Posts:
    2
    Hello fellow forum devs!

    I am a virtual reality developer working on a fitness boxing game for the Meta Quest. I want to incorporate a multiplayer mode into the game that players can compete and train with others in the game, and I am using netcode in hopes to accomplish this.

    I have run into an issue where the player GameObjects are not moving accurately to match the speed of the player's controllers. Attached I have 2 videos of a guy throwing quick punches viewed from the server and the client side games. Note that on the client side, the punches do not even travel the full distance the hand actually went out.

    Turning off networkTransform interpolation does not fix the issue, and it adds a lot of jagged movement to the hands of the player. Is there something I may be overlooking? If possible I would appreciate it if someone could steer me in the right direction.
     

    Attached Files: