Ok so i have “circles” so to speak that fall from the sky and i was wondering how you would set the floor to upon collision would remove the circles that hit it. Here is my code for the floor so far:
local floor = display.newRect(0, 0, \_W, 20);
floor:setReferencePoint(display.CenterReferencePoint);
floor.x = \_W/2; floor.y = 1000
physics.addBody(floor, "static", {friction=0.3, bounce=0})
Any help or link to a tutorial regarding this would help me a lot, thanks. [import]uid: 69054 topic_id: 18724 reply_id: 318724[/import]
[import]uid: 69054 topic_id: 18724 reply_id: 71969[/import]