Hi
I'm using ThrowPropsPlugin to animate a sprite called imageContainer:
The code I'm using is from the ThrowPropsPlugin example found here: http://www.greensock.com/throwprops/
Example:
ThrowPropsPlugin.to(imageContainer, {throwProps:{
y:{velocity:yVelocity, max:maskBounds.top, min:maskBounds.top - yOverlap, resistance:300},
x:{velocity:xVelocity, max:maskBounds.left, min:maskBounds.left - xOverlap, resistance:300}
}, onUpdate:scrollUpdate, onComplete:scrollEnd, ease:Strong.easeOut
}, 10, 0.3, 0);
Is there a method I can call on TweenLite that forces the animation to end instantly but still places my imageContainer where it was heading within the bounds?
Any help appreciated!
Thanks
Rolf