Jump to content
Search Community

Tweenmax Update Tween position

Asteroids test
Moderator Tag

Recommended Posts

Sorry, you can't use TweenMax.updateTo() to control values set by plugins. 

 

 

I'm a little confused by what you are trying to accomplish, as I don't know what the position of the tween is. Are you referring to where a tween is in a timeline? Or the position of an object that is being controlled by a tween?

 

If you need to drag and throw objects, ThrowPropsPlugin is well suited for that: http://www.greensock.com/throwprops/

 

Please try to be more descriptive with your problem and perhaps we can offer better help

Link to comment
Share on other sites

If I understand you correctly, you'd need to kill() the original tween when you start dragging, and then just start another tween when the dragging has finished. You could record the original velocity/angle when the drag starts so that you can resume exactly at that velocity and angle afterwards too. 

  • Like 1
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.
×
×
  • Create New...