I am trying to get a ball to collide with a peg, both of which should be circles. The ball is “dynamic” and the peg is static. Th ball does act like a circl but the peg still responds as a rectangle. Below is the code for the definition of the peg:
[lua]local pegs = display.newImage(“greenPeg.png”, 100, 320)
physics.addBody(pegs, “static”, {density = 2, radius = 15})[/lua]
[import]uid: 7664 topic_id: 1631 reply_id: 301631[/import]
