Jump to content
GreenSock

mimeartist

Animate from A to B but only show a small part of it...

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Not sure if this is going to make sense, but I've got a set of panels that animate onto screen and then back off again to determined places... and the client says they are too wizzy... So what I want to do is just show the last few frames of them moving into place but still look like they come from there original point as I'm quite happy where they appear to start from. E.g. they just appear on screen and then carry on moving very slightly to a stop

 

Does that make sense... I'm not sure if I should use timeline or there is something in TweenMax I can do to create it

Link to comment
Share on other sites

Yea it's a little difficult to understand - are you just asking to skip the first half of a tween and play the end of it? If so you could probably just do something like this:

TweenLite.to(foo, 1, { bar: 100 }).progress(0.5);
  • Like 4
Link to comment
Share on other sites

Ah okay... yep thats what I'm trying to do... so .progress is my friend... thanks!

Link to comment
Share on other sites

You could also use .time(0.5) to jump to a specific time instead of percent as well.

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×