Animation Tracking

Your scene model may have baked, pre-recorded animations where meshes change position, rotation, and scale during the course of the user experience.

By default, Metalitix does not record baked animations from your scene.

// Import the Metalitix logger from the 8th Wall Metalitix module.
import { getMetalitixLogger } from 'metalitix-aframe'
const logger = getMetalitixLogger()
FunctionDescription

logger.addAnimation(animation)

Record the state of an animation track. Accepts an AnimationAction.

logger.clearAnimations()

Remove all tracked animations.

Last updated