Closed Malcolmnixon closed 3 months ago
ground_control = Always (If the player doesn't move after jumping, they fall slowly to the ground. However, if the player moves in any direction during the jump, everything works fine.)
ground_control = On Ground (It's okay)
Updated how friction is applied so it's only applied horizontally in the reference frame of the ground.
Everything's great. No problems. Thank you for your work!!!
This PR fixes #639 by applying the ground-friction at the correct time in the movement calculations. This PR also fixes #642 by only applying the steep-slope logic if the player is on the ground.