Ok so my objects are falling to slow… here is littlery the onl code i have in the file(Not including the composer setup)
local \_W = display.contentWidth local \_H = display.contentHeight local physics = require("physics" ) physics.setScale( 60 ) physics.start( ) local bombs = {} local bCount = 1 local spawnBombs = function() local s = math.random(\_W\*0.2,\_W\*0.8) bombs = display.newImageRect( "circle.png", 31, 31 ) bombs.x = s; bombs.y = -100 physics.addBody( bombs, "dynamic", {density=.01, friction=0.5, bounce=0.1 } ) bombs.gravityScale = 0.1 bombs.collision = onCollision bCount = 1 end myTimer = timer.performWithDelay( 100, spawnBombs, -1 )
I tried lowering and uping the physics scale… i tried uping gravity and ive tried desity … nothing seems to work… help? thanks