One feature I find myself missing every now and again is the ability to directly query the the collision detection system rather than having to generate event listeners.
In most cases event listeners are fine, but now and again I just want an instant overlap test without the extra hassle, such as:
if collision.overlaps(circle, rotatedbox) then
...
end
Usually this is the case when one of the objects is a temporary sensor which I do not want to have around any longer than is required for the test.
My ideal system would allow me to pass display objects or raw geometry descriptions to the method, so that in the case of invisible temporary sensors I don’t need to generate display objects at all!
Thanks
[import]uid: 11757 topic_id: 9038 reply_id: 309038[/import]