* Torsten Dreyer -- Tuesday 10 July 2007: > Should all references to properties be relative - without the leading slash? > Maybe it's written somewhere in the docs or has been on the list, but I > somehow missed it...
Before we had MP it didn't really matter. Now it does. If you look into the property tree you find that for every AI & MP aircraft there's a branch under /ai/models/{multiplayer,aircraft}/{position,orientation,...} That is: the aircraft gets it's own parameter set and should, of course, use that for gear/control-surface/etc. animation, and shouldn't use the global one, which is for *the* aircraft -- the local pilot's. If you make the paths absolute (with leading slash), then your aircraft will over MP not obey its *pilot's* commands, but those of the *local* aircraft. Of course, there may be properties for which you *want* an absolute path. Let's say you have your own, alternative 2D shadow (like the bo105 has, as well as some others), and you want to enable that only when 3D shadows are disabled. In that case you have to use the global property (/sim/rendering/shadows-ac), of course. But such cases are rather the exception. m. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel