How do you use friction?

I can’t get it to do anything.


Friction is a multiplier that determines the force that slows objects on surfaces (walls in this case). In other words, you could call it “slipperyness”, but in reverse. The higher the friction, the better the grip and the less the objects slide around.

By default, sprites have a friction of “infinity” because they stop immediately. Setting friction to a lower number will make it slide more. Setting it to 0 will make it keep the momentum it gains forever until it is stopped by other forces.


So if i wanted a character to jump off a wall diagonally then stop after an amount of time, i could set the fx to 200 and the vx to 250?