rhodonite
    Preparing search index...

    Class CharacterAnimationController

    Maps character movement state to animation tracks and controls playback transitions.

    When tracks come from external VRMA files, assign them to animationRoot before creating this controller. AnimationAssigner.assignCharacterAnimationsWithVrma() returns the CharacterAnimationMapping accepted by this constructor. Grounded locomotion uses the requested movement speed when it is available, so collision correction on steps does not repeatedly switch walk and run tracks.

    Index
    • get availableTracks(): readonly string[]

      Returns readonly string[]

    • Returns void

    • Applies an initial track immediately, without blending from the rest pose. Call this before the first engine.process() when a character should appear in a known pose from its first rendered frame.

      Parameters

      Returns void

    • Parameters

      • deltaTime: number

      Returns void