physics setting to have a fast and slow behaviour with the same force

hi,

i can’t have a player who in some case with the same force move slowly (i increase the linear.damping ) and in other case with same force move fast  (i decrease the linear.damping to 0)

in fact, i would in some case slow my player.

the problem is that i can do one or anoter case but not the two case with the same parameter of physic.setScale  and force.

with a physics.setScale to 30 > i have fast movement

I 'm set a force to 20 > ok i have a player who move fast

with the same physics.setScale to 30 i want slow movement

i’m setting the linear damping to 1000000000 with the same force (20) and i can’t reduce the speed.

Also with big big big value to linear.Damping the result is the same.

have you an idea to slow my player without change the value of the force  ?

local physics = require("physics") physics.start() physics.setScale(30) physics.setGravity(0,0) local player={} --player for playerlua local obstacle={} --player for playerlua player.linearDamp=1 player.density=1 player.friction=0 player.bounce=0 player.posx=100 player.posy=100 player.radius=25 obstacle.linearDamp=1 obstacle.density=1 obstacle.friction=0 obstacle.bounce=0 obstacle.posx=300 obstacle.posy=400 obstacle.radius=35 force=20 --------- player.body=display.newCircle(player.posx,player.posy,player.radius) player.body.x=player.posx player.body.y=player.posy player.body.linearDamping=player.linearDamp physics.addBody(player.body,{density=player.density,friction=player.friction,bounce=player.bounce}) obstacle.body=display.newCircle(obstacle.posx,obstacle.posy,obstacle.radius) obstacle.body.x=obstacle.posx obstacle.body.y=obstacle.posy obstacle.body.linearDamping=obstacle.linearDamp physics.addBody(obstacle.body,{density=obstacle.density,friction=obstacle.friction,bounce=obstacle.bounce}) local function punch() player.body:applyForce(((obstacle.body.x - player.body.x )\*force), ((obstacle.body.y-player.body.y)\*force),player.body.x,player.body.y) end timer.performWithDelay(500,punch)