Hello,
I'm using force to push my physics object move in the air. sometimes it can go very fast, since it's in the air so I can't use friction to slow it down. I wonder if there is any way to set the max speed?
You can use Linear damping to slow down motion over time, between 0 and 1
Develop games in your browser. Powerful, performant & highly capable.
Thanks Crude. that's a good way. and there is also an option to set velocity
I have same problem and I'd like to try it too, thanks a lot
and porky, where's the option to set velocity? I just can't find it
scirra.com/manual/98/physics
Search "Set velocity" ;)
I don't know if it's the best way, but I use the action "Set Velocity" under the condition "Every Tick". I then do:
VX: clamp(player.Physics.VelocityX, -500, 500)
VX: clamp(player.Physics.VelocityY, -700, 700)