The image is a box with rounded corner, I would like to add two circle + one box collider on the image. But I find that it is not possible in Corona, pls help! [import]uid: 12088 topic_id: 6724 reply_id: 306724[/import]
http://developer.anscamobile.com/reference/index/physicsaddbody
eg
-- For a complex body (multiple body elements)
physics.addBody(object, [bodyType,]
{density=d1, friction=f1, bounce=b1, shape=s1},
{density=d2, friction=f2, bounce=b2, shape=s2},
{density=d3, friction=f3, bounce=b3, shape=s3}
)
hmm maybe it won’t allow you to specify the circles at offsets for 2 of the shapes
put in a feature request?
[import]uid: 6645 topic_id: 6724 reply_id: 23455[/import]
thx a lot.
no, I didn’t put “specify the circles at offsets” on feature request [import]uid: 12088 topic_id: 6724 reply_id: 23467[/import]
sorry i meant “why don’t you put it in a feature request?” … it’s a good suggestion [import]uid: 6645 topic_id: 6724 reply_id: 23516[/import]