Hi,
I am having problems with my hotspot.onclick code in the WebVR mode.
To set the starting view on the target scene after a transition I define custom properties in <hotspot>: hlookat, vlookat
This is my hotspot.onclick code (defined in skin_hotspotstyle):
Code
if(linkedscene, skin_hidetooltips(); tween(scale,0.25,0.5); tween(oy,-20,0.5); tween(alpha,0,0.5); looktohotspot();
loadscene(get(linkedscene),null,get(skin_settings.loadscene_flags),get(skin_settings.loadscene_blend));
lookat(get(hlookat), get(vlookat), 70.0); skin_updatescroll(); );
Normally after a transition the new scene is displayed with (hlookat, vlookat).
With WebVR on mobile instead just the global starting view of the scene is being loaded instead, like if I click on a tile.
In another words, this code:
is being just ignored.
WebVR in "desktop fake" mode works also well though.
Is there an easy way to fix/work this around?
Thanks.