2c8aad12ba
Change fgcommand to take an optional property tree root element. This fixes the animation bindings to use the defined property tree root - to support multiplayer (or other) model that can bind to the correct part of the property tree. Requires a corresponding fix in sg to allow the command methods to take an optional root parameter. What this means is that when inside someone else's multiplayer model (e.g. backseat, or co-pilot), the multipalyer (AI) model will correctly modify properties inside the correct part of the property tree inside (/ai), rather than modifying the properties inside the same part of the tree as the non-ai model. This means that a properly setup model will operate within it's own space in the property tree; and permit more generic multiplayer code to be written. This is probably responsible for some of the pollution of the root property tree with MP aircraft properties. |
||
---|---|---|
.. | ||
acmodel.cxx | ||
acmodel.hxx | ||
CMakeLists.txt | ||
modelmgr.cxx | ||
modelmgr.hxx | ||
panelnode.cxx | ||
panelnode.hxx | ||
README | ||
TODO |
Last updated $Date$ This directory contains code for loading, positioning, orienting, and animating 3D models. acmodel.cxx acmodel.hxx This module defines the FGAircraftModel subsystem, which manages the 3D model representing the aircraft the user is flying. model.cxx model.hxx This module defines the FG3DModel class, which represents any 3D model in the FlightGear world. modelmgr.cxx modelmgr.hxx This module defines the FGModelMgr subsystem, which manages all 3D models except for the aircraft.