Hi XD I’m quite new to Corona and am trying out a lot of things atm.
I was wondering, after applying physics to a body like this
[code]local physics = require(“physics”)
physics.start()
physics.setGravity(0, 0.9)
local background = display.newImage(“bkg_clouds.png”)
local ball = display.newImage(“ball.png”)
ball.x = 100
ball.y = 100
physics.addBody(ball, {bounce = 0.5})
local ground = display.newImage(“ground.png”)
ground.y = display.contentHeight - ground.stageHeight/2
physics.addBody(ground, “static”, {bounce = 0.2})[/code]
Is it possible to determine whether the ball is still falling or not?
Or rather, is there a way to figure out the ball’s speed like this or do I have to make some changes to the code?
Would be awesome if somebody could help me out, thanks :3 [import]uid: 191248 topic_id: 33018 reply_id: 333018[/import]
