We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

VR Navigation – How to disable movement on the Y axis for Camera in VR mode

Home Forums General Questions VR Navigation – How to disable movement on the Y axis for Camera in VR mode

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #38465
    ocularvr
    Customer

    Good morning all! One really important question please (9 hours of trying!) –

    How can I prevent the camera in VR mode to follow the heads up/down movement? Right now, when I look in any direction, I move in that direction – but if I look up or down and hold the thumbstick, I move up or down while moving forward. How can I lock the camera to the X/Y plane and not move up and down in Z?

    This answer will make my weekend if someone can give me a pointer!

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #38474

    Hi,
    you need to move camera in absolute coordinates (not local) along its horizontal direction. Try this:

    Attachments:
    You must be logged in to view attached files.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #38545
    ocularvr
    Customer

    Thank you so much for your help. I got it working on Sunday night – I set the camera straight in Blender and made the following puzzle. Now I am going to make a function that rotates the camera by 20 degrees every time we press a button. For that, I have to figure out how to get an event for A or B button on the right hand Quest controller. Any ideas would help me very much.

    Verge 3D is the best and you guys are awesome!!!

    Attachments:
    You must be logged in to view attached files.
    #38549
    ocularvr
    Customer

    OK have it working with one controller, going to get some batteries now and try to modify it so that the left thumbstick is rotation while right thumbstick is position.

    Attachments:
    You must be logged in to view attached files.
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.