Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Mittwoch, 3. Juni 2020, 18:01

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:

Quellcode

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:

Quellcode

1
 get(view.hlookat)  



2

Montag, 15. Juni 2020, 14:11

Any ideas on why it could be doing this?

I need some help, please

3

Montag, 15. Juni 2020, 19:27

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