controling the view direction trouble

  • 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 :

    It changes the heading correctly but if changes teh FOV too :(
    Why ! How can i force it not to ?

    Thanks

  • hi,

    lookat(110,14,0)

    first number is 'compass' direction
    2nd is looking down a bit in this case.. 0 is 0 -5 is up
    the last number is the zoom maybe try 40 or so.

    cheers
    Tuur *thumbsup*

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!