Probleme beim Abfragen von hlookat...

  • Hi,

    ich versuche beim Erreichen eines bestimmten Winkels Hotspots ein- und wieder auszublenden.

    Dazu mein bescheidener Versuch:

    Code
    <events onviewchange="action(hot1);"/>
    
    
    	<action name="hot1">
    		if (view.hlookat GT 0, set(hotspot.visible,true), set(hotspot.visible,false)); 
    		if (view.hlookat LT 70, set(hotspot.visible,true), set(hotspot.visible,false)); 
    	</action>

    Soweit Ok aber er blendet die GT 0 Variante 1 x ein und danach nicht wieder aus, nach rechts (LT 70) klappt es einwandfrei, mache ich da was falsch ?

    Gruß, Michael

Participate now!

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