Howto:Animate models: Difference between revisions

Jump to navigation Jump to search
m
(→‎Translate: Add an example of how to use interpolation tables to the animation wiki)
Line 99: Line 99:


The axis are similar to the ones of the 3D model, so finding coordinates is easily done in 3D modeling software.
The axis are similar to the ones of the 3D model, so finding coordinates is easily done in 3D modeling software.
=== Using a geometry object for axis and centre (2017.2) ===
Added in V2017.2 is support to allow a geometry object (a line segment with two vertices) that is used to define both the centre and the axis for an animation. This will work with rotate, translate and the knob animations.
The syntax for this is
<source>
<axis>
    <object-name>some-object</object-name>
</axis>
</source>
Once the object-name used for the axis has been processed the geometry object will be hidden. This also allows a visual check for any axis objects that are not yet assigned.
It is possible to reuse the same object definition multiple times within the xml that defines the animations.
[[File:Canopy-animation-axis-object.png|small|Illustration of where an axis object (2017.2) can be placed for a canopy]]
[[File:Gauges-knobs-animation-axis-object.png|small|Illustration of where an axis object (2017.2) can be placed for cockpit elements]]


== Additional tags that can be used in most animations ==
== Additional tags that can be used in most animations ==
308

edits

Navigation menu