Animation
Last updated
Last updated
The puzzles from this category perform operations with animation clips.
"play animation"
Plays an animation clip. Animation clip names correspond to objects to which animation is assigned in 3ds Max or Blender (only one animation clip can be assigned per object). Use the animation selector puzzle to provide an animation clip for this puzzle.
Use the "from" and "to" fields to specify the frame range. Use the "speed" field to specify the playback speed. The "reversed" checkbox enables reversed playback. The drop-down can be used to change the animation mode - "auto" allows for using the animation mode specified in 3ds Max or Blender, while the other modes override the settings specified in 3ds Max or Blender.
Puzzles in the "when finished: do" slot are processed once the animation is finished (this only is valid for the "once" animation mode).
This puzzle also works for a list of animation clips.
"stop animation"
Stops playing back an animation clip. Also works for a list of animation clips.
"pause animation"
Pauses an animation clip playback so that it can be resumed later starting from the frame it was paused on. Also works for a list of animation clips.
"resume animation"
Resumes a previously paused animation clip. Also works for a list of animation clips.
"set animation frame"
"is animation playing"
"get animation"
"animate param"
Animates a numeric parameter (or all parameters in a list or a dictionary) in between from and to, during a period specified with duration (in seconds). The easing dropdown allows you to specify the animation mode (see below).
The repeat field specifies the number of repetitions after the first animation is complete. The yoyo checkbox enables backtrack movement (works for repeat > 1).
The in-between value may be retrieved with an updated value puzzle usually placed inside the on update do slot.
"updated value"
This puzzle may be placed anywhere in a scenario, but naturally works in the on update do slot of the animate param puzzle where it is updated every frame.
Sets an animation clip to a specified frame. Also works for a list of animation clips.
Checks if an animation clip (or any of animations in a list) is currently being played back.
Retrieves a specified object's animation clip. Also works for a list of objects, a group (or a list of groups) or with the all objects puzzle. The return value is always a list of animation clips (even if there is only one of them).
Puzzles in the on update do slot are triggered every rendering frame while the parameter is animated. Puzzles in the when finished do slot are triggered once the animation is finished.
This puzzle wraps the Tween.js library, exposing its all 31 easing modes (pictured), duration, repeat and yoyo settings, and the update and complete callbacks.
Returns the in-between value produced by the animate param puzzle. Depending on the type of the animated parameter, can be a number, a list or a dictionary.