Sie sind nicht angemeldet.

1

Freitag, 4. Mai 2018, 17:58

gyro enabled, losing the view orientation?

hi guys!
small issue here:

i got a hotspot, loading a new scene with a custom view orientation. When i click the hotspot, all works well. New scene, and looking in the right direction.

But when i turn on gyro (mobile) this same scene is loaded, and looking into a different direction. (i guess the default 0 degrees direction)

Do i need to set a different setting for this too? besides the 'gyro enabled'.

i load scenes like: loadscene(get(s), '', MERGE|KEEPVIEW|KEEPMOVING, get(settings.transition) );

Any ideas about this?

Kind regards,
Sander

2

Freitag, 4. Mai 2018, 19:22

I think KEEPVIEW is telling it to use the current loookat coordinates instead of your custom view orientation. Try messing around with those when the gyro is enabled.


https://krpano.com/docu/actions/#loadscene

3

Montag, 7. Mai 2018, 12:15

Hi,

when using a default vtourskin.xml just enable the 'webvr_gyro_keeplookingdirection' setting in the tour.xml.

Best regards,
Klaus