You are not logged in.

1

Wednesday, June 3rd 2020, 6:01pm

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:

Source code

1
2
<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:

Source code

1
 get(view.hlookat)  



2

Monday, June 15th 2020, 2:11pm

Any ideas on why it could be doing this?

I need some help, please

3

Monday, June 15th 2020, 7:27pm

Here's a link to a project where there's nothing but the moving hotspot

https://n-bucle.es/visitas360/krpanoforo/


As you can see, it works wonders, but it gets stuck when I click enter VR mode in my Occulus Quest