Hi guys I’m making a sort of puzzle game and in this game it requires boxes with dynamic physics bodies to drop onto one another.
box = display.newImage("tile.png") physics.addBody(box, "dynamic", {density=0, friction=1, bounce=0.0}) bottom = display.newLine(0, H - 28, W, H - 28) physics.addBody(bottom, "static", {density=5, bounce=0.0, friction=1}) physics.setGravity( 0, 30 )
The initial box that collides with the ground has zero bounce. Although as every box stacks up onto the last one they seem to bounce and get more unstable ignoring the fact that they all have 0.0 bounce and are made the same. I have tried high and low gravity and even trying to stop the downward force of the box before it collides.
I am new to programming so any help/opinions on what to do would be great.
Thanks…