[2.2.15] Player friction controlled by Lua is no longer working

I’ve been considering myself unimpressed with the way I have received this new patch of the game. I have been working on an addon for almost five years and one of the most important stuff I did there is that the player’s friction is affected depending on their speed.

To be precise, every Lua script with the line “player.mo.friction” is no longer doing any effect in the game. I used to spend my time making Lua scripts for controlling player speeds using friction and seeing this not working anymore just unleashes my frustration even more.

One explanation of friction being used to increase the player’s speed could be increasing the player’s speed as long as the player is moving downwards to a slope without spindashing. The player could also briefly maintain that speed depending on the changes done to the player’s friction.

By the way, I hope this gets fixed as soon as possible. It is unacceptable that bugs like these happen every single time the game is being patched, forcing us modders to fix our bugs in our mods the hard way.


2.2.13:
srb20003.gif


2.2.15:
srb20010.gif


I know this is an addon, but the issue is on something from unmodded SRB2. And no, auto brake isn’t even enabled, like, are you kidding me? Holy cow the damage is big.
 
Last edited:
What hook is the friction change in? I noticed that an old character mod had its friction modification in ThinkFrame, which I think broke after 2.2.14, due to this change. Moving it to PlayerThink seems to make it function again, I don't know why.
 

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top