Skip to content

Animation Control Problem For Blend One In State Machine (Flutter) #420

@BlockRen

Description

@BlockRen

Description:

I've encountered an issue with the control of animations in my Flutter project that the animation is blend in state machine animation.

Animation Implementation Details:

  • The .riv files utilize a state machine to manage the animation flow.
  • Number inputs are employed to control the transitions within the animation flow.
  • Some states within the state machine are blends, which are mixtures of two regular Timeline animations.

Steps to Reproduce the Issue:

  • Retrieve the state machine animation's input using SMINumber.
  • Change the value by calling 'ctrl.value'.
  • While regular timeline animations play as expected, the blend animations do not respond and show no signs of playback.

Reproduction Environment:

Development Environment:

  • MacOS Sonoma 14.5
  • Android Studio Koala Feature Drop | 2024.1.2
  • Device:
    Pixel 4a 5G
    Android Version 14
  • Flutter Environment:
    Flutter 3.22.2 • channel stable
    Framework • revision 761747bfc5 (3 months ago) • 2024-06-05 22:15:13 +0200
    Engine • revision edd8546116
    Tools • Dart 3.4.3 • DevTools 2.34.3

Expected Behavior:

The blend animations should play smoothly alongside the regular timeline animations when the .value is changed.

Actual Behavior:

The blend animations do not play at all, and there is no visual or console output indicating an error.

I would appreciate any guidance or assistance in resolving this issue. Thank you for your time and support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions