Search the Community
Showing results for tags 'tweenmax draggable throwprops'.
-
Hi Can anyone tell me if there's a 'best practices' way of stopping a throw animation. Basically I want an element to be able to catch something that a player has thrown using the Draggable / ThrowPropsPlugIn. If the element catches the thrown object, the thrown object would stop short of the distance it would have glided (been thrown). Many thanks in advance
-
Hi Using Draggable with throwProps I keep checking on a 'thrown' objects coords using onThrowUpdate. My problem is based on needing a reference to two scopes. One scope being the object that's thrown (the throw scope) and the other is the scope that I set in onThrowUpdateScope. If I set "onThrowUpdateScope: this" so as it references my object and all my prototyped methods then I can't seem to reference the object with the 'throw' scope. I would be very grateful if someone can show me how this is done... Many thanks in advance...
-
Hi I'm wanting to use Draggable (including ThrowProps) to be able to flick objects in only one direction(in this case only left). Is there a built in way I can constrain the flick say only to the left and not allow drag or throw in any other direction (similar to a SwipeLeft event in jQuery TouchSwipe - I just want to avoid importing too many libs). Many thanks in advance