In code bellow ball falls in required point on ground but with small velocity. How to increase ball velocity with saving target point? Help please.
[code]
physics = require(“physics”)
physics.setDrawMode( “hybrid” )
physics.start()
ground = display.newRect(0, 0.75*display.contentHeight, display.contentWidth, display.contentHeight/4)
physics.addBody(ground, “static”, {friction=2})
ball = display.newCircle(40, 0.75*display.contentHeight-8, 8)
ball:setFillColor(255,0,0)
physics.addBody(ball, {friction=1, radius=8})
ball:setLinearVelocity(100,-200)
[/code] [import]uid: 86894 topic_id: 15568 reply_id: 315568[/import]