Ninjadoodle Posted March 11, 2018 Share Posted March 11, 2018 Hi @enpu Is there any sort of hitTest functionality in Panda 2? I'm not necessarily talking physics, but a simple function where I could test whether one object is overlapping another. Thank you! Quote Link to comment Share on other sites More sharing options...
enpu Posted March 11, 2018 Share Posted March 11, 2018 @Ninjadoodle Just added new hitTest method to Container https://www.panda2.io/examples#sprite-hitTest Ninjadoodle 1 Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted March 11, 2018 Author Share Posted March 11, 2018 Hi @enpu Thanks heaps for that, you have no idea how useful that is (actually you probably do lol)! Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted March 11, 2018 Author Share Posted March 11, 2018 @enpu - Just checked out the example link, but nothing seems to be loading in the preview window on the right (just wanted to let you know). Quote Link to comment Share on other sites More sharing options...
enpu Posted March 11, 2018 Share Posted March 11, 2018 @Ninjadoodle Try to clear your browser cache Ninjadoodle 1 Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted March 11, 2018 Author Share Posted March 11, 2018 @enpu - Cool, that worked I thought reloading the page a few times would have done the job (should have know better). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.