Sie sind nicht angemeldet.

1

Montag, 25. Juli 2016, 10:12

Startup view VR mode

Hello everyone,
I'm developing different tours connected by a main one and I'm finding some problems with startup view when entering those tours.
This happens only when i'm using it with mobile in VR mode, the startup view is always the default one even though I have changed it.
The funny thing is that only the startup scene is not working, if I go to another scene and then come back to the first through hotspots it works like a charm.

Does anybody has some hints for me? *question*

Thank you!

jordi

Profi

Beiträge: 583

Wohnort: Barcelona

Beruf: creating ideas & coding them

  • Nachricht senden

2

Montag, 25. Juli 2016, 10:32

you need to use resetsensor(); otherwise it will use the sensor view

http://krpano.com/plugins/webvr/#lookat
everpano.com step beyond 360

3

Montag, 25. Juli 2016, 11:47

you need to use resetsensor(); otherwise it will use the sensor view

http://krpano.com/plugins/webvr/#lookat
Thank you Jordi!
Seems that it works now.
I'm not sure if I made it in the right way, I've put the method directly after the loadscene(). *confused*

jordi

Profi

Beiträge: 583

Wohnort: Barcelona

Beruf: creating ideas & coding them

  • Nachricht senden

4

Montag, 25. Juli 2016, 18:56

you can use it in the onstart attribute of the scene
everpano.com step beyond 360