rive-flutter icon indicating copy to clipboard operation
rive-flutter copied to clipboard

Follow path not working

Open user97116 opened this issue 1 year ago • 5 comments

user97116 avatar Aug 03 '23 04:08 user97116

Hi @user97116 can you provide more information please. A reproducible example will be great.

Also note that you need to be on a later version of Rive: https://help.rive.app/runtimes/feature-support

For follow path you need to be using at least: v0.11.6

HayesGordon avatar Aug 03 '23 07:08 HayesGordon

@HayesGordon check this https://rive.app/s/D8Fw3SKX6kmVCge_f6OlyQ/ simple path animation but you use this riv file in flutter it won't work, I am using latest rive, rive: ^0.11.11

user97116 avatar Aug 03 '23 07:08 user97116

I just tested and it works fine for me. Can you share the code you're using.

HayesGordon avatar Aug 03 '23 08:08 HayesGordon

Hi @user97116, any update on this? If you can provide a sample that demonstrates the issue that'll be helpful.

HayesGordon avatar Aug 09 '23 07:08 HayesGordon

Not sure if this is exactly the same issue, but I am experiencing issues with follow path together with state machine and blend state (1D). Running my state machine through the rive application works as expected my sun and moon moves smoothly white updating my input value (from 0 -24), but when I run the animation in the flutter app. The animation runs weirdly going back end forward on the path.

I have posted a simplified version of my animation to the community https://rive.app/community/8645-16533-day-night-cycle/

I have also created a sample flutter application where you can test the animation with a slider. https://github.com/bjartebore/rive_path_issue

@HayesGordon

bjartebore avatar Mar 06 '24 07:03 bjartebore

Closing this as resolved as part of the linked issue. A future API change will make this less likely to run into

HayesGordon avatar Aug 12 '24 14:08 HayesGordon