I have sprite with physics behaviour, but its fall down speed is very slow
it have density =1, friction .5, elasticity- .5 , linera damp- .5
How to increase linear damp and fall down speed, I am using box2dweb engine
I guess:
increasing gravity would increase fallspeed..
increasing density would increase fallspeed..
decreasing linear damping would increase fallspeed..
Develop games in your browser. Powerful, performant & highly capable.
if player is falling set gravity to increase
In the event sheet: Add event/System/On start of layout
Add action/pick the sprite with physics behaviour/set world gravity/ to #?
...the higher the number, the faster the object will fall
I think you can use a variable.
1. Every tick - Set falling speed to global variable "Falling Speed" (or another name)
2. Every 0,01 (or another time) if object is falling - add 1 (or another number) to global variable "falling speed"
3. Object is on ground - reset global variavle "falling speed"