I have a physics body made from an image. I then add a couple of shapes to the body which correspond with the image.
If I do this:
thing = display.newImage( "thing.png" )
physics.addBody( thing, shape1, shape2 ) -- abbreviated
thing:addEventListener( "tap", onTap )
then the “taps” are detected within the bounds of the image rectangle and not the shape(s) of the body.
How do I detect taps only on some/all of the shapes? [import]uid: 8353 topic_id: 3413 reply_id: 303413[/import]