Update stair stepping, now it's more compatible with Godot Jolt, previous code is a port of my Godot 3.5 implementation and new code added from updated version of main repository: https://github.com/mrezai/GodotStairs
New node added to player as body to handle rotation instead of using player's collision, useful for player with box collision(prevent player from unwanted fall on ledges).
Separation of computed velocity from move_and_slide's velocity, previous code cause unwanted damage to player for example after jump on objects.
Update stair stepping, now it's more compatible with Godot Jolt, previous code is a port of my Godot 3.5 implementation and new code added from updated version of main repository: https://github.com/mrezai/GodotStairs New node added to player as body to handle rotation instead of using player's collision, useful for player with box collision(prevent player from unwanted fall on ledges). Separation of computed velocity from move_and_slide's velocity, previous code cause unwanted damage to player for example after jump on objects.