Hi @ alfgago,
I don’t think there’s a way to pinpoint the location of a specific body part using only the event handler. However, you could do this mathematically based on the core X/Y of the object (both of which you can access at any time). It would take some up-front effort when you create the body, but seemingly it’s possible. Basically, you’d need to set “offset” coordinates for each body part in relation to 0,0 at the overall body center. Then, you could use those coordinates plus basic trigonometry (assuming the body might rotate) to determine where the body part is during a collision.
@polygonblog,
Just curious, is there an official bug report on file for this? If not, could you possibly create a bare-bones simple test instance of it, showing the bug? I could then try to push its priority and urge the Corona engineers to investigate and hopefully fix it.
Brent Sorrentino
[import]uid: 9747 topic_id: 32541 reply_id: 129679[/import]
I’ll download it and try it out sometime. [import]uid: 63787 topic_id: 32541 reply_id: 137198[/import]