Hi
this is the code:
--\> Start Physics physics = require ("physics") physics.start() physics.setContinuous( false ) physics.setScale( 30 ) physics.setGravity (0, 10) physics.setDrawMode ("hybrid") local rectangle = display.newRect( 20 , 100, 8, 30 ) physics.addBody( rectangle, "dynamic", {density=10, friction=0.5, bounce=0.8 } ) local circle = display.newCircle( 50, 100, 10 ) physics.addBody( circle, "dynamic", {density=0.1, friction=0.5, bounce=0.8, radius = 10 } )
Although rectangle and circle have different density, they are falling at the same speed. How can I change this? Thank you.