Hi! My skill level in XML programming is just at the entry, so I badly need some help with my problem. Hope it is really easy for any experienced guys.
I am trying to set a little animation for my virtual tour. What I need to do is to start the scene with some position and once it is loaded I need it to zoom out anr look at the other specified position. The initial co-ordinates are set in the hotspot, that leads to the scene. And they are:
Once the new scene is loaded I need it to smoothly zoom out to FOV=80 and then look to position +224,0
So for the new scene onstart event I use:
<scene name="scene2" onstart="action(startscene);">
<action name="startscene">
showtext('[b][i]scene 2[/i][/b]', infostyle);
plugin[box].selectIdItem(2);
wait(load);
tween(view.fov,80,1.0,easeInOutQuad );
tween(view.hlookat, 224, 0.5, easeInOutQuad );
tween(view.vlookat, 0, 1.5, easeInOutQuad );
</action>
Alles anzeigen
Despite the tweening commands are as above the action in any case goes first look at 224,0 and then zoom to FOV 80.
Any help how to resolve the problem is warmly welcome.