final tuto movement
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 20s
Create tag and build when new code gets to main / Test (push) Successful in 7m16s
Create tag and build when new code gets to main / Export (push) Successful in 9m29s

This commit is contained in:
2026-02-05 15:26:40 +01:00
parent db93e8f68e
commit 1f904cdb13
3 changed files with 613 additions and 94 deletions

View File

@@ -1090,7 +1090,8 @@ public partial class PlayerController : CharacterBody3D,
{
if (MantleSystem.IsMantlePossible && IsPlayerInputtingForward())
{
_bufferedAction = BufferedActions.MantleDash;
// _bufferedAction = BufferedActions.MantleDash;
_canDash = true; // Restore dash ability
_playerState.SendEvent("mantle");
}
}
@@ -1284,12 +1285,12 @@ public partial class PlayerController : CharacterBody3D,
{
if (IsTryingToMantle()) _playerState.SendEvent("mantle");
// if (ShouldStartWallRun())
// {
// SetVerticalVelocity(WallRunUpwardVelocity);
// _playerState.SendEvent("wall_run");
// return;
// }
if (ShouldStartWallRun() && Velocity.Y < WallRunUpwardVelocity)
{
SetVerticalVelocity(WallRunUpwardVelocity);
_playerState.SendEvent("wall_run");
return;
}
// Update horizontal velocity
var horizontalVelocity = ComputeHVelocityAir(delta);