If you were to let something interact with something else with hype physics is there an easy way to hitTest it without using jQuery/JS? If not what’s a good way to do it the JS way?
The example thread posted had the user using “MutationObserver” which seems like a less than ideal way to do things. Has anyone else tried Hit Tests with physics?
at this point nothing has changed since that thread.
matter.js as underlying js-library doesn’t support collisiondetection (as far as i heard) …
so, you’ll need your own event to catch elements attributes changing. the only one i know is the mutation-event.
if you need collision-detection on drag-event you can use jqueries or hypes events