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 Controller Navigation (Quest 2)

Home Forums General Questions VR Controller Navigation (Quest 2)

Viewing 11 posts - 31 through 41 (of 41 total)
  • Author
    Posts
  • #71263
    Thomas Fabini
    Customer

    we’ll look into this!

    Thank you very much Yuri! – no need for a bug report, then?

    #71264
    kdv
    Participant

    Actually, it’s not a bug. The camera cantrol object is just a parent object for the active camera. The camera itself can’t be controlled in VR, it’s completely controlled by HMD.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #71265
    Thomas Fabini
    Customer

    Actually, it’s not a bug.

    …and that is the comment i was rather afraid of. ;)
    That’s why i wondered if it is to be considered a bug.

    It’s hard to wrap my head around the relationship between the headset and the camera control object: It is like a child relation when walking physically but a parent relation when pushing the camera control object around with the stick.

    Does the headset offset the camera inside the camera control object when walking physically?

    #71266
    kdv
    Participant

    Does the headset offset the camera inside the camera control object when walking physically?

    Exactly. It’s like a passenger in a bus. You can’t control the passenger but you can move the bus together with the passenger. The world is a bus (a parent) for the camera control object, the camera control object is a bus for the active camera in VR.

    But it’s quite possible to make it work as needed.
    https://v3d.net/qef

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #71267
    tomtm
    Participant

    Dunno if it can be fixed, but i’ll kindly ask Alex and Yuri if they can take a look at this.

    we’ll look into this!

    Is there a way to trigger the vibration in the controller, for example, during the hover-over event or other events?

    I think it is possible but requires coding.

    Thanks for the link.
    Because I can‘t code and therefore I‘m evaluating verge3d, which is a super cool solution for non coders,
    this might be a cool feature requesr for the VR puzzles?

    #71268
    Thomas Fabini
    Customer

    But it’s quite possible to make it work as needed.
    https://v3d.net/qef

    If i understand the problem correctly it’s basically a cyclic dependency in their relationship.
    I admire the problem, the answer still eludes me.

    Ah nice one! That really seems to work…
    Do you mind helping me out on this one?

    • This reply was modified 8 months, 3 weeks ago by Thomas Fabini.
    #71273
    kdv
    Participant

    The trick is to perform rotation at the camera’s position point.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #71283
    Thomas Fabini
    Customer

    The trick is to perform rotation at the camera’s position point.

    I almost expected some matrix math voodoo for offsetting the transformation center… glad you didn’t :)
    Thank you very much for sharing this solution, i really haven’t thought about parenting the camera control object to an offset empty for the offset rotation…

    In my setup with the continuous rotation this could be harder to achieve since it would mean parenting and unparenting each frame / each simulation tick or maybe at least at each rotation start and end.

    But i still wonder if it’s not possible to change the coding for the camera control object so that it keeps always sync with the headset position in space when walking. I mean, wouldn’t that be the expected logic?

    #71284
    kdv
    Participant

    Taking into account that you can’t control the camera directly since it’s entirely controlled by HMD… Hardly possible without refactoring of three.js code.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #71287
    Thomas Fabini
    Customer

    Please correct me if i’m wrong – but since it’s the camera control object which needs to keep sync, not the camera itself, wouldn’t any VR event like ‘HMD moved’ suffice to update the control object and reset the offset which occured when the user moved?

    #71288
    kdv
    Participant

    No. If you update the parent’s position you will alsoo change the absolute position of all its children. It would be possible if you could control a child but you can’t.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

Viewing 11 posts - 31 through 41 (of 41 total)
  • You must be logged in to reply to this topic.