Howto:Animate models: Difference between revisions

Jump to navigation Jump to search
Add note about added axis-object support for slider and locked-track animations on Git next.
(Add note about added axis-object support for slider and locked-track animations on Git next.)
Line 103: Line 103:
=== Using a geometry object for axis and centre (2017.2) ===
=== 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.
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, spin, translate and knob animations.


The axis line should be balanced, i.e. it should protrude equal amounts. The axis line should be normalized (i.e. 1m) as its length acts as a factor (affecting translate animations).
{{Note|Since SimGear commit 6ca9141083e62be1161d0ca2d1e3b918494dd6ad on next, this feature can also be used for slider (usage equivalent to that for a translate animation) and for any of the <*-center> / <*-axis> tags of a locked-track animation.}}
 
When used for translate animations, the axis line should be normalized (i.e. be 1 meter long) as its length acts as a factor for the translation distance.


The XML syntax for this is:
The XML syntax for this is:
97

edits

Navigation menu