Jump to content
Search Community

PopWarner

Members
  • Posts

    2
  • Joined

  • Last visited

About PopWarner

  • Birthday October 27

PopWarner's Achievements

2

Reputation

  1. Thank you @OSUblake! I was focusing on the docs page for the ThrowPropsPlugin here: https://greensock.com/docs/Plugins/ThrowPropsPlugin Didn't think to look in the draggable docs. Thank you so much!
  2. Greetings, Hope this isn't too newbie of a question. Looking to subscribe to the club and I'm playing with some of the bonus plugin's via the CodePen sandbox. I really like the draggable when combined with the throwprops plugin. I was curious, is there a way to call a function at the end of a "throw". In the sample pen, I added the throwProps plugin, so I can toss around the icons, which is perfect. But I was hoping to "toss them into the bag" in the sample. The problem is that how the sample is setup, the hitTest is based on dragging with my cursor. So when I "throw" the icon over to the bag, even though it lands on it, the hitTest function doesn't fire because it's associated to the onDrag event. Is there a way to fire the hitTest once the icon has landed in it's final spot or track it's location as it's being thrown across the space. Thanks in advance.
×
×
  • Create New...