Howto:Animate models: Difference between revisions

Jump to navigation Jump to search
m
Proper inter-wiki link, appendix template
No edit summary
m (Proper inter-wiki link, appendix template)
Line 4: Line 4:


== A note about animation order ==
== A note about animation order ==
{{stub}}
Animations are executed by FlightGear in the order that they are read in the model's .xml file. Therefore, it is very important to pay attention to the order, especially when multiple animations are applied to the same object(s).
Animations are executed by FlightGear in the order that they are read in the model's .xml file. Therefore, it is very important to pay attention to the order, especially when multiple animations are applied to the same object(s).


== A note about .ac files ==
== A note about .ac files ==
{{Main article|AC files: Understanding and changing .ac code#Identifying an object}}


When referring to an .ac file in your xml animation, it is important that the <object name> matches the object named in the .ac file. For example, when exprtting to AC3D in Sketchup, the .ac file will name the objects in your model to "blah" by default. You need to amend the relevant object names in your .ac file using text edit, so that the xml will work.
When referring to an .ac file in your xml animation, it is important that the <object name> matches the object named in the .ac file. For example, when exporting to AC3D in Sketchup, the .ac file will name the objects in your model to "blah" by default. You need to amend the relevant object names in your .ac file using text edit, so that the xml will work.
 
See: http://wiki.flightgear.org/AC_files:_Understanding_and_changing_.ac_code#Identifying_an_object


== Special code parts ==
== Special code parts ==
Line 604: Line 601:


==References==
==References==
* [http://www.opensubscriber.com/message/flightgear-devel@flightgear.org/958955.html "material" animation (and the bo105 as an example)]
{{Appendix|all|
by Melchior Fanz, March 22 2005.
* {{cite web |url=http://www.opensubscriber.com/message/flightgear-devel@flightgear.org/958955.html |title="material" animation (and the bo105 as an example) |first=Melchior |last=Franz |date=22 March 2005 |work=FlightGear-devel mailinglist }}
}}


[[Category:Aircraft enhancement|Animate models]]
[[Category:Aircraft enhancement|Animate models]]

Navigation menu