Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animate values #4

Open
BillyTheGit opened this issue Aug 7, 2018 · 0 comments
Open

Animate values #4

BillyTheGit opened this issue Aug 7, 2018 · 0 comments

Comments

@BillyTheGit
Copy link

BillyTheGit commented Aug 7, 2018

The api is and works great for editing values of an animation, so thank you for this!

But is it possible to animate a value change? For example, changing the Transform - Position property at random so the object goes from A to B in a smooth motion, instead of jumping to it's new position.

I can get the position to change, but the object isn't moving towards the new object. I guess because it doesn't know it's new position? Is this possible with the api or should I be looking at different solution, if possible at all?

Thank you in advance!

EDIT:
And adding to this, is it possible to use the lottie-api in combination with playSegments (looping and not looping). Since I got it to work, but it stops after playing the segment. I used the example where an object follows the mouse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant