Houdini 20.0 Animation

Cycling (repeating) animation

On this page

There are several ways to cycle or repeat animation in Houdini - through channel extrapolation, functions, the dopesheet and motion effects.

Channel extrapolation

The simplest way to cycle animation is to set the extrapolation option on a channel:

  1. Add the parameters that you want to cycle to the channel list.

  2. In the channel list, select the parameters you want to cycle and RMB click on the selected parameters.

  3. Choose Channels ▸ Extrapolation and change the extrapolation mode to Cycle or Cycle Offset.

    or

    Choose Channels ▸ Extrapolation ▸ Before First Segment or Channels ▸ Extrapolation ▸ After Last Segment to repeat the animation before the first segment or after the last segment of the animation.

    or

    Choose Channels ▸ Channel Properties or use the Alt + E hotkey to bring up the Edit Channel Properties window. In the Before and After columns, choose Cycle or CycleOffset.

Functions

To cycle the first 25 frames through the remaining 125:

  1. Add the parameters that you want to cycle to the channel list.

  2. Set a keyframe at frame 125 in the graph view of the animation editor.

  3. Select the channel segments from frame 25 to 125 by LMB dragging in the graph.

  4. In the Function field below the graph, choose cycle() or cycleoffset() from the drop-down menu.

Tip

cycle() will continue from the starting value of your channels.

cycleoffset() will continue from the last value of your channels.

Dopesheet

If you want to cycle the animation and create keyframes for the cycle, use the dopesheet in the animation editor. To cycle and add keyframes from the first 25 frames through the remaining 125:

  1. Add the parameters that you want to cycle to the channel list.

  2. In the animation editor, switch to the dopesheet view.

  3. Select frames 1 to 25 (inclusive) in the All Displayed row by LMB dragging.

  4. In the animation editor Edit menu, choose Copy.

  5. Select frames 26 to 125 (inclusive) in the All Displayed row.

  6. In the Edit menu, choose Paste Special ▸ Cycle at Region Selection.

Motion Effects

For more procedural cycling of animation, you can use Motion Effects.

  1. Add the parameters that you want to cycle to the channel list.

  2. RMB click the playbar and choose Motion FX ▸ Cycle.

Animation

Getting started

Next steps

Guru-level