ValveSoftware / steamvr_unity_plugin

SteamVR Unity Plugin - Documentation at: https://valvesoftware.github.io/steamvr_unity_plugin/
BSD 3-Clause "New" or "Revised" License
1.04k stars 259 forks source link

Hand movement not synchronous with HMD view when using smooth locomotion #1109

Open OberProGamerY opened 9 months ago

OberProGamerY commented 9 months ago

I have set up a basic smooth locomotion system via a Character Controller component added to the SteamVR Plugin "Player" prefab. I have however noticed that the hands dont move perfectly synchronous with the HMD view, it appears they move "ahead" of were you are currently moving towards via smooth locomotion; the faster the movement, the bigger the difference.

Setting the Pose Update Mode in the SteamVR_Settings object to solely OnUpdate (from OnPreCull), same as the Input Update Mode, fixes the hands not being synchronous with the HMD view / movement. This however causes a different issue, where Throwable objects lag behind the Player movement; you can even see how the object tries to move out of the hand when moving.