Skip to content

Latest commit

 

History

History
140 lines (109 loc) · 7.93 KB

animating.md

File metadata and controls

140 lines (109 loc) · 7.93 KB

Animating

Animations change the rig over time: bone transforms, image swaps, colors, mesh deformation, constraint values, draw order and events. Each is stored as keys relative to the setup pose, so animations work on any skin and can be layered in games.

The dopesheet of NILA's wave animation: rotate keys for the arm, head and neck, and image swaps

Animations

To Do
Create an animation + (New animation) in the timeline. You switch to Animate mode.
Choose one The animation menu at the left of the timeline.
Rename it Edit the name field next to +.
Set its length Length (seconds). Keys after the end make it longer.
Delete it The Delete animation button (the bin).

The frame rate is a project setting, the fps menu in the timeline bar (and Output ▸ Frame rate in the Film workspace); keys snap to its frames.

Setting keys

Switch to Animate mode (Tab), move the time cursor, change the pose, and key it.

Command Default key Keys
Key (timeline) Everything about the selection: all transforms of the selected bones, or a slot's image.
Key changed properties K Every change you made that is not keyed yet.
Key the current tool's property L Rotation with the Rotate tool, position with Translate, and so on.
Key all transforms of the selection Ctrl+L Rotate, translate, scale and shear of the selected bones.
Key everything shown Ctrl+Shift+L Every bone channel in the dopesheet at the current frame, plus unkeyed changes.
◆ next to a value That value.

Auto key in the viewport toolbar keys every change right away.

Without auto key, changes you have not keyed are kept on screen until you key them, or until the time, the animation or the mode changes; then they are discarded and the status bar says so. Key buttons show the state: keyed at this frame, changed but not keyed, or not keyed.

Image swaps and colors

  • Images: pick another attachment for a slot (in the inspector, or by clicking it in the tree) to set an image-swap key. Swaps are stepped: the image changes exactly on the key.
  • Colors: change a slot's tint in Animate mode and key it.
  • Mesh shapes: see Deforming in Animate mode.
  • Constraints: select a constraint; its mixes and values have key buttons. See Constraints.
  • Events: see Keying events.

Playback

Control Does
⏮ First frame (Q).
◀ / ▶| Previous / next frame (F / R, or the arrow keys). Shift moves 10 frames.
▶ Play and stop (Space). A plays backward.
Loop Play the animation in a loop (Ctrl+R).
Boomerang With Loop on, play to the end and back again (ping-pong), to check a cycle both ways. A preview only: exports are unchanged.
Speed 0.1× to 2× playback speed, for checking timing.
fps The project's frame rate.
Time At the end of the bar: frame and seconds, or timecode (MM:SS:FF, minutes:seconds:frames) and frame in the Film workspace.

W and S jump to the next and previous key; E to the last key. Keys are listed for the default Spine-like preset; see Keyboard shortcuts.

Physics and audio play with the timeline. Editing while playing is allowed and marks the project as changed.

The dopesheet

The dopesheet shows a row for every keyed channel of the animation: each bone's rotate, translate, scale and shear, slot images and colors, mesh deformation, image sequences, IK and other constraints, draw order and events. Diamonds are keys; their color tells the curve (stepped keys are purple).

A thin tween line joins each key to the next where the value blends between them, so you can see at a glance where something moves and where it holds. A stepped key has no line after it, and image swaps, draw order and events never have one, since they switch exactly on the key. Turn the lines off with View ▸ Tween lines.

To Do
Move the time cursor Click or drag in the ruler or an empty area.
Select a key Click it. Ctrl+click adds to the selection.
Select several Drag a box around them.
Move keys Drag a selected key; the others move with it.
Select whole frames Turn on Select whole frame columns (the columns button) and drag across the ruler area: every key in those frame columns.
Select several areas Alt+drag adds another area, or turn on Multi-select (next to it) so every drag adds one.
Retime keys Click Retime (the double arrow) and drag an edge of the selection (or right-drag at any time): the keys stretch or squeeze relative to the opposite edge.
Change the curve Right-click a key: Linear, Ease in-out, Ease in, Ease out or Stepped.
Cut, copy and paste Right-click a key ▸ Cut or Copy; once keys are copied, right-click any spot ▸ Paste here pastes at that frame.
Zoom the timeline Ctrl+wheel zooms time around the cursor, Alt+wheel pans. Zoom all the way out to see the whole animation again.
Delete keys Right-click ▸ Delete key, or Delete.

Keys always land on whole frames.

Copy and paste keys

Select keys and press Ctrl+C (or the Copy button, or right-click ▸ Copy); Ctrl+X cuts them. The copied area stays marked in green and a preview follows the time cursor; move it to where the first key should land and press Ctrl+V (or the Paste button). Right-click ▸ Paste here pastes at the frame you clicked. Escape cancels.

  • Keys keep their tracks by name (bone, slot, deformed attachment, IK constraint), so a paste into another animation, or after bones were added or deleted, lands on the same tracks. Deform and IK tracks the target lacks are created.
  • The paste button cycles how existing keys are treated: Merge keeps them, Overwrite replaces the copied span on the copied tracks, Overwrite all clears the whole copied area. Keys about to be erased show a red ✕ in the preview.
  • A paste that runs past the end of the animation asks whether to extend the animation, paste what fits, or cancel.

Copy and paste work in the detached timeline too.

Curves

Each key has a curve that shapes the motion to the next key:

Curve Motion
Linear Constant speed. Mechanical.
Ease in-out Slow out of the key, fast in the middle, slow into the next. The natural default for most motion.
Ease in Starts slowly, ends fast: falling, swinging into a hit.
Ease out Starts fast, ends slowly: settling, landing.
Stepped Holds the value until the next key: snappy timing, image swaps.
Custom Any Bézier shape, set in the graph editor.

New bone keys are linear. To start them eased or stepped instead, set Preferences ▸ Editing ▸ Curve of new keys; it changes only keys made from then on.

Tips for good motion

  • Block first, then refine. Key the main poses with stepped curves, check the timing, then switch to eased curves and add breakdowns.
  • Overlap. Let the head, hands and hair arrive a few frames after the body. Shift their keys in the dopesheet, or let physics do it for hair and accessories.
  • Use the graph editor to fix pops and floaty motion: see Graph editor.
  • Use onion skin to check arcs and spacing: see Onion skin.
  • Save poses you reuse, such as expressions and hand shapes: see Poses and face controls.