What I do is: I make a line pick against the ground every step anyway - short range picks are pretty fast. I use that pick to control jumps btw.
So if pickednx etc. signals that the slope under the players feet is steep and my char would actually slide down, due to gravity-y-decremention, i simply prevent sliding down the slope by repositioning the player at the last position AFTER updateworld. Of course, this should be done only when the player is not walking or running.
Not shure if this will solve your problem.
So if pickednx etc. signals that the slope under the players feet is steep and my char would actually slide down, due to gravity-y-decremention, i simply prevent sliding down the slope by repositioning the player at the last position AFTER updateworld. Of course, this should be done only when the player is not walking or running.
Not shure if this will solve your problem.