Our research deployment of the ARENA at https://arenaxr.org will be unavailable at times Wednesday, August 3, 2022 for scheduled maintenance while we move our server to its new data center home across campus at Carnegie Mellon University. Our apologies for any inconvenience this may cause.
Link Search Menu Expand Document

Animation Mixer

A list of available animations can usually be found by inspecting the model file or its documentation. All animations will play by default. To play only a specific set of animations, use wildcards: animation-mixer=’clip: run_*’.

More properties at https://github.com/n5ro/aframe-extras/tree/master/src/loaders#animation

Animation Mixer Attributes

Attribute Type Default Description Required
clampWhenFinished boolean False If true, halts the animation at the last frame. No
clip string '*' Name of the animation clip(s) to play. Accepts wildcards. No
crossFadeDuration number 0 Duration of cross-fades between clips, in seconds. No
duration number 0 Duration of the animation, in seconds (0 = auto). No
repetitions number; One of: ['once', 'repeate', 'pingpong'] 0 Number of times to play the clip, in addition to the first play. Repetitions are ignored for loop: once. No
timeScale number 1 Scaling factor for playback speed. A value of 0 causes the animation to pause. Negative values cause the animation to play backwards. No