WebXR get current view issue

  • I made an event which allowed me to make a hotspot follow me with a small delay
    The hotspot is used for changing between day/night and I wanted it to be always visible at a fixed height

    This is my code:

    Code
    <events name="change_view" keep="true" onviewchanged="follow_move( get(view.hlookat) );"/>
    <action name="follow_move">  tween(hotspot[spotDN].ath, %1, 3.0);</action>

    In desktop version works perfectly and in WebVR has worked fine as well
    That was until Oculus Browser's update
    Now that I'm using WebXR it stopped working, the hotspot is stuck in the same place

    Does anyone know why it behaves that way?

    After some testing I'm almost sure it has something to do with the way WebXR handles this part:

    Code
    get(view.hlookat)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!