Animation Editor is a tool that helps you to create and preview animations. This is a powerful tool that can be used to animated pretty much any numeric property. It has three main parts:
Toolbar- contains a set of tools that changes a particular part of an animation (name, length, speed, etc.)
Track List- contains a list of tracks of nodes that will be animated.
Curve Editor- curve editor allows you to edit behaviour of a numeric parameter over the time.
The editor can be opened in two ways - using
Utils -> Animation Editor or by selecting an animation player node and
Open Animation Editor button in the inspector.
In both ways you still need to select an animation player for editing.
The toolbar contains a set of tools that changes a particular part of an animation (name, length, speed, etc.). It looks like this:
Animation Name- name of a currently selected animation.
Add Animation- adds a new empty animation with the name from the text box at the left to the animation player.
Import Animation- starts animation importing process. See Animation Importing section for more info.
Rename Animation- renames a currently selected animation using the name from the text box at the left.
Animation Selector- allows you to switch currently edited animation.
Delete Animation- deletes a currently selected animation, tries to select last animation from the list if possible.
Duplicate Animation- clones a currently selected animation.
Loop Animation- enables or disables looping of a currently selected animation.
Enable Animation- enables or disables a currently selected animation.
Animation Speed- sets a new playback speed of a currently selected animation.
Time Slice- a time range (in seconds) which defines start and end time of a currently selected animation.
Preview Switch- enables or disables animation preview. See
Preview Modesection for more info.
Play/Pause- plays or pauses a currently selected animation (allowed only in the preview mode).
Stop- stops a currently selected animation (allowed only in the preview mode).
The track list contains a list of tracks of nodes that will be animated. It looks like this:
Filter Bar- filters the track list by finding tracks whose names matching the filter. You can use this to find tracks that belong to a particular scene node.
Clear Filter- clears the filter, the track list will show all the tracks after this.
Collapse All- collapses all the tracks in the list.
Expand All- expands all the tracks in the list.
Track- a track with some number of children parametric curves.
Track Component Curve- parametric curve that serves a data source for the animation for a particular track.
Track Switch- enables or disables a track; disabled tracks won't "touch" their properties.
Add Track- starts property binding process, see Property Binding section for more info.
Track Context Menu
Remove Selected Tracks- removes selected tracks; you can remove multiple tracks at a time by selecting them while holding
Curve editor allows you to edit parametric curves (one at a time). A curve consists of zero or more key frames with various transition rules between current and the next. The editor looks like this:
Time Ruler- shows time values and every signal of a currently selected animation. A click on the time ruler will move the playback cursor at the click position. You can move it by clicking at the cursor and moving the mouse while holding the left mouse button. Animation signals can be moved in the same fashion.
Parametric Curve- a curve that defines how a value changes over time.
Time Thumb- animation playback cursor, useful only for preview.
Animation Signal- some animation signal that will produce animation events when the playback cursor passes it.
Time Ruler Context Menu
Remove Signal- removes an animation signal under the mouse cursor.
Add Signal- adds a new animation signal at the mouse cursor position.
Key Frame Context Menu
Location- shows a key location and allows you to change it. Useful for setting precise values.
Value- shows a key value and allows you to change it. Useful for setting precise values.
Add Key- adds a new key to the curve.
Remove- removes all selected keys. You can select multiple keys either by box selection (click and drag the mouse to active box selection) or by clicking on separate keys while holding
Key...- allows you to change the interpolation type of key. It could be one of the following values: Constant, Linear, Cubic.
Zoom To Fit- tries to find zooming values (for both axes) and the view position with which the entire curve fits in the viewport.
To animate a property all you need to do is to click on
Add Track... button at the bottom of the track list, select
a node to animate and then select a property that will be animated. There are two windows that will be shown one after
You can cancel property binding at any time by clicking
Cancel in any of the windows. Keep in mind that you can animate
only numeric properties, so not every property is shown in the window.
Animations can be stored in separate files, but the engine requires all of them to be in a single Animation Player. To
put an animation from an external resource (an FBX, for instance) in the animation player you can use animation
importing. To do that, click on animation import icon and then select a root node of the hierarchy that is animated in
the external animation file, then select the animation file and click
Ok. The engine will try to import the animation
and map it to the given hierarchy, mapping is done using node names, so animated node names must match in both your
scene and your external animation file.
Preview mode helps you to see and debug your animation. After activating the mode, you need to play the animation by
Any significant change made in the scene will automatically deactivate the preview mode reverting all the changes made by playing animation.
For now there's no dopesheet mode in the editor, you can edit only one numeric parameter at a time. Also, there's no capture mode - this is a special mode in which the editor automatically adds your changes in the scene to the animation. These limitations will be removed in the future versions.