Hello all,
I'm trying achieve the effects that the Draggable provides(mainly throwProps: true and bounds: window), but I'm not sure I'm going down the right direction or a rabbit hole.
I have some elements that will translating across the screen and will reverse direction upon hitting the bounds.
Draggable would be my go-to solution, but a user isn't initiating the velocity. I would like the set the initial velocity and set the dragResistance super low.
I also considered setting the initial velocity per the ThrowPropPlugins with the following:
TweenLite.to(mc, 2, {throwProps:{x:500, y:-300}});
Using this method I haven't been able to figure out how to keep the element within the min/max values. It seems like min/max for y is working, but now x.
Can someone let me know if I'm either making this more complicated than it has to be or assist me with getting the bounds worked out?