Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Bug VR Oculus: Player Camera stuttering while moving upwards on a Platform

Discussion in 'VR' started by richidenn, Feb 28, 2023.

  1. richidenn

    richidenn

    Joined:
    Jan 25, 2017
    Posts:
    3
    Hey i programmed an elevator but when the player is standing inside while its moving the camera is shaking. looks like it´s refreshing gravity somehow slow or something.

    Please see the gif attached. Any Ideas how to fix that?

    I used VR Builder for the VR implementation.

    Thanks in advanced
     

    Attached Files:

  2. Deltigre

    Deltigre

    Unity Technologies

    Joined:
    Sep 13, 2022
    Posts:
    27
    This isn't so much a bug but a side effect of relying on physics collision to update the player position, happens in many games that don't take it into account. You might try looking at the bottom of this tutorial: https://addam-davis1989.medium.com/creating-an-elevator-movement-in-unity-a486fc9309ba, which temporarily makes the elevator the player parent so that it's the animation position instead of collision updating their position.
     
  3. richidenn

    richidenn

    Joined:
    Jan 25, 2017
    Posts:
    3
    Awesome thank you I will try it later :)
     
  4. richidenn

    richidenn

    Joined:
    Jan 25, 2017
    Posts:
    3
    Thanks it worked :)
     
    Deltigre likes this.