Selon dene maxwell <[EMAIL PROTECTED]>: > Thanks Roberto ( and Paul) > > The Model-howto and simgear links were great for putting things into > perspective. > > I'm still a little confused about how the > <condition> > <greater-than> > ... > </greater-than> > </condition> > > aspect works. From what I can see everything after the condition is either > applied or not depending weather the condition is satisfied. > > so everything after; > > <animation> > <type>Select</type> > <object-name>FlashingLight</object-name> > <condition> > <greater-than> > <property>/sim/time/sun-angle-rad</property> > <value>1.57</value> > </greater-than> > </condition> > </animation> > > would be acted upon if the sun-angle-rad property was greater than 1.57 (ie > sun was below the horizon)
No Dene, only the animation itself is conditionned. It this case it's a select animation, so it's a switch on/off on the object "FlashingLight" depending the position of the sun over the horizon. That's true that animations that come first have precedence over those coming afterward, but only on the named object. -Fred -- Frédéric Bouvier http://frfoto.free.fr Photo gallery - album photo http://www.fotolia.fr/p/2278 Other photo gallery http://fgsd.sourceforge.net/ FlightGear Scenery Designer ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Flightgear-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-users
