hello.
I have a multi shaped polygon that’s only dragable by a very small area where the two shapes intersect. I need the whole object to respond to the touch event, not just a tiny part of it. How would I go about doing that ?
my code:
boomerang = display.newImage( “boomerang.png”)
boomerang.x = 170
boomerang.y = 200
physics.addBody( boomerang, “dynamic”,
{ density = 1.5, bounce = 0.3, friction=0.6, shape=long1Shape},
{ density = 1.5, bounce = 0.3, friction=0.6, shape=long2Shape})
boomerang:addEventListener( “touch”, startDrag )
thank you! [import]uid: 39057 topic_id: 7776 reply_id: 307776[/import]