Ninjadoodle Posted March 11, 2018 Report 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! Link to comment Share on other sites More sharing options...
enpu Posted March 11, 2018 Report Share Posted March 11, 2018 @Ninjadoodle Just added new hitTest method to Container https://www.panda2.io/examples#sprite-hitTest Ninjadoodle 1 Link to comment Share on other sites More sharing options...
Ninjadoodle Posted March 11, 2018 Author Report Share Posted March 11, 2018 Hi @enpu Thanks heaps for that, you have no idea how useful that is (actually you probably do lol)! Link to comment Share on other sites More sharing options...
Ninjadoodle Posted March 11, 2018 Author Report 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). Link to comment Share on other sites More sharing options...
enpu Posted March 11, 2018 Report Share Posted March 11, 2018 @Ninjadoodle Try to clear your browser cache Ninjadoodle 1 Link to comment Share on other sites More sharing options...
Ninjadoodle Posted March 11, 2018 Author Report 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). Link to comment Share on other sites More sharing options...
Recommended Posts