Hi,
I've almost finished a complex Vr visit with a map, a carousel and hotspots :)
Everything works just great :)
Except with the hotspots :(
When i load a Vr from the carousel or the map i use an action
Code
<action name="load0">
set(plugin[spotx].x,-265);
set(plugin[spotx].y,45);
set(plugin[radar].x,-265);
set(plugin[radar].y,45);
playsound2D(s1,zap.mp3,0.5,0,1);
loadpano(panos/CJ_cockpit.xml,null,KEEPBASE,BLEND(2));
set(plugin[radar].heading,180);
</action>
So by default it shows the angle of view that is described on this CJ_cockpit.xml which is just fine :)
Now i made hotspot too. But then i want to use that exact action (load0) but i need to force a different heading for the camera and to be sent to the radar pluging !
so i tryed something like :
Code
<hotspot name="hs1"
keep="false"
visible="true" enabled="true" handcursor="true" capture="true" children="true"
zorder="0"
fillcolor ="0xffffff" fillalpha ="0.00" borderwidth ="6" bordercolor ="0xffffff" borderalpha ="0.1"
fillcolorhover="0xffffff" fillalphahover="0.10" borderwidthhover="4.0" bordercolorhover="0xffffff" borderalphahover="0.80"
fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
onover=""
onhover="showtext(Cockpit)"
onout=""
ondown=""
onup=""
onclick="action(load0);lookat(110,14,0)">
<point ath="-94.8971" atv=" 46.2378" />
<point ath="-99.9142" atv=" 51.5460" />
<point ath="-95.2692" atv=" 51.0487" />
<point ath="-91.2870" atv=" 58.6447" />
<point ath="-85.3151" atv=" 57.6089" />
<point ath="-90.5691" atv=" 50.3415" />
<point ath="-86.2459" atv=" 49.7000" />
</hotspot>
Alles anzeigen
It changes the heading correctly but if changes teh FOV too :(
Why ! How can i force it not to ?
Thanks