CLEAR

Animation Patches

Use these patches to control the animation of 3D objects.

Learn more about how to use animation patches.

Animation

Use this patch to generate a progress value. Connect this patch to a Frame Transition, Transition or Animation Player patch to drive an animation. It has 4 input ports:

  1. Play - a pulse that starts the animation.
  2. Reverse - a pulse that changes the direction of the animation. 3 .Reset - a pulse that makes the animation start from the beginning.
  3. Duration - set Duration to match the length of your animation in seconds.

It has 2 output ports:

  1. Progress - a number from 0 to 1 that represents the progress of the animation, where 0 is the initial state and 1 is the completed state.
  2. Completed - a signal that is triggered when the animation is completed.

Loop Animation

Connect this patch to a Frame Transition, Transition or Animation Player patch to drive an animation, so it loops repeatedly. It has 4 input ports:

  1. Enable - a pulse that starts the animation.
  2. Duration - Set Duration to match length of your animation in seconds.
  3. Reset - A pulse that makes the animation start from the beginning.
  4. Mirrored - A boolean signal that makes the animation move back and forth between zero and one. If the boolean is false, the animation will reset immediately to zero when it reaches one.

The output, Progress is a number from 0 to 1 that represents the progress of the animation, where 0 is the initial state and 1 is the completed state.

Progress

Map scalar values to progress values. It has 3 input ports:

  1. Value - A number to convert.
  2. Start Value - A number from 0 to 1 that represents the progress of the animation, where 0 is the initial state and 1 is the completed state.
  3. End Value - A number from 0 to 1 that represents the progress of the animation, where 1 is the initial state and 0 is the completed state.

The output port, Progress, will be number from 0 to 1 that represents the progress of the animation where 0 is the initial state and 1 is the completed state.

You'd usually connect this patch to the Transition patch.

Transition

Convert a progress value to a value between a new range, defined by the start and end values. It has 3 input ports:

  1. Progress - A number from zero to one that represents the progress of the animation.
  2. Start - The number at the beginning of the new range.
  3. End - The number at the end of the new range.

The output port, Value, represents the current frame of the animation.

Right-click to change the type, for example number, 3D point or color.

Frame Transition

Use this patch for 2D animations. It will convert a progress value to a value between a new range. It has 3 input ports:

  1. Progress - a number from 0 to 1 that represents the progress of the animation, where 0 is the initial state and 1 is the completed state.
  2. Frames - the number of frames in the animation.
  3. First Frame - the starting frame of the animation.

The output port, Value, represents the current frame of the animation.

Animation player

Drive the progress of an animation.

  1. Animation Asset - Connect to a patch representing the animation asset.

  2. Progress - Connect to a patch that will drive the progress of the animation.

Animation - Connect to a patch representing the animation property of a 3D object.