Hello, Im moving my body with:
and it works good. But all the time with the same speed, how can I increase it? Changing 2nd parameter doesn't change anything.
Thanks for help!
Code: Select all
body.setLinearVelocity(b.getLinearVelocity().x, -20);and it works good. But all the time with the same speed, how can I increase it? Changing 2nd parameter doesn't change anything.
Thanks for help!