Skip to content

Animation

Updated

XR Creator has two animation editors. The animation timeline keyframes an object’s transform, visibility and signals over time. The animation graph is a state machine that plays, stops and blends animation layers when signals fire.

Open the Animation panel from View → Animation, then select the object to animate. If nothing is selected, the panel says “Pick an object to animate it”. If the object has no timeline yet, choose Add Animation Timeline.

When an object has an Animation Timeline component, its Layers field in Properties shows a summary such as “1 layer · 4 keys” and an Open timeline button.

A timeline has one or more layers, and each layer has tracks.

  1. Choose Add layer. Its Layer settings let you set the layer’s Name and Weight.
  2. On the layer, choose Add track and pick a property: Position, Rotation, Scale, Visible or Signal.
  3. Move the playhead and choose Add key at playhead (K).
  4. Select a key to edit its Time, Value and Interpolation (Linear, Smooth or Step). Signal keys take a Signal name.

Layers and tracks can each be enabled or disabled and locked. Search layers filters the layer list.

Record edits as keys turns recording on: changes you make to the object are written as keys at the playhead.

Control Shortcut What it does
First frame Home Moves the playhead to the start.
Play / Pause Space Previews the animation in the viewport.
Stop preview Ends the preview.
Last key End Moves the playhead to the last key.
Playback mode Cycles Once, Repeat and Ping-pong.
Previous key / Next key Shift+← / Shift+→ Jumps between keys.
Focus playhead Shift+F Scrolls the timeline to the playhead.

More timeline keys: ← / → step one frame, = / - zoom in and out, \ fits the timeline, E edits the selected key, Ctrl+D (⌘D) duplicates keys and Delete removes them.

See Timeline for how timelines play at run time.

When an object has an Animation Graph component, its States field in Properties shows a summary such as “3 states · 2 signals” and an Open animation graph button. The graph opens in its own tab. If the object has no graph yet, choose Add Animation Graph.

  • Right-click or double-click the canvas, or press N, to add a state.
  • Select a state to edit its name, make it the Entry state (Set as entry state), lock it, pick its Color, and see its Transitions in and out.
  • On Enter and On Exit list the actions the state runs: Play, Stop, Pause, Resume or Seek, each on a timeline layer. Each action has playback options such as Fade.
  • Fit view frames the whole graph. Arrow keys move the selected node.

Signals fire the transitions between states. Use Add signal (S) in the signals list, double-click a signal to rename it, and Search signals to filter. Selecting a signal shows which transitions use it (Used by).

Select a transition on the canvas to set it up, lock it, or choose Delete transition. Delete removes the selected graph item.

See Animation graph and Animation overview for how graphs, clips and timelines work together at run time.