Beim ein- und ausfliegen eines Bildes wird rx, ry und rz nicht übernommen.

  • Hallo Leute,

    ich habe ein kleines Problem mit der Anzeige von Bildern. Ich möchte wie in der demotour-weingut mehrere Bilder anzeigen lassen. Der einzige Unterschied ist, dass ich die Bilder als Hotspot in das Panorama einbaue und nicht als poligonal-Hotspot habe. Ich habe den Code von der demotour-weingut übernommen und etwas angepasst. Soweit funktioniert dieser auch. Das einzige Problem das ich noch habe ist, dass beim ein- und ausfliegen der Bilder die Werte rx, ry und rz nicht übernommen werden.

    Hier mal der Code:

    Sollten diese Werte in der action "flyin" nicht übernommen werden?

    Code
    if(hotspot[%1].oldrx === null, copy(hotspot[%1].oldrx, hotspot[%1].rx) );
    		if(hotspot[%1].oldry === null, copy(hotspot[%1].oldry, hotspot[%1].ry) );
    		if(hotspot[%1].oldrz === null, copy(hotspot[%1].oldrz, hotspot[%1].rz) );

    Vielleicht kann mir ja jemand einen Tipp geben wo das Problem liegt.

    Danke schon mal im Voraus

    LG Alex

Participate now!

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