✅ Solved: Data bound values don't behave as expected when starting an animation
I have a Path with 2 variables, pathProgress and interpolatedProgress
pathProgress is a value I pass into the artboard from the frontend react native client
interpolatedProgress is a databound vale which uses a convertor to calculate from pathProgreess over a duration
Interpolated Progress is what is used for the stroke position on my path
I want to create an animation that is only visible when the path is moving i.e. pathProgress ≠ interpolatedProgress. However there seems to be no way to set the pathProgress and interpolatedProgress to be the same when I start the animation?
Order of events
I set pathProgress on the FE client
interpolatedProgress ≠ pathProgress
animation renders
I want to be able to set an initial value for pathProgress and the interpolatedProgress (I did try doing this in code as well, where I set interpolatedProgress to the same value but this didn’t fix it)
I’ve attached a file where you can reproduce the issue by setting interpolatedProgress ≠ Progress before playing the statemachines and where the issue doesn’t exist when you set it to equal before starting the animation