basic tutorial setup
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 18s
Create tag and build when new code gets to main / Export (push) Successful in 6m12s

This commit is contained in:
2025-11-05 16:08:36 +01:00
parent 31b7b5ea0c
commit 29d9f44142
8083 changed files with 183961 additions and 15 deletions

View File

@@ -437,12 +437,14 @@ public partial class PlayerController : CharacterBody3D
WallHang(delta);
}
private Option<Vector3> _plannedMantleLocation = Option<Vector3>.None;
// Jump
public void OnInputJumpStarted()
{
if (CanMantle())
{
MantleToLocation(MantleSystem.FindMantleForHeadRotation(HeadSystem.Rotation.Y).Unwrap());
MantleToLocation(_plannedMantleLocation.Unwrap());
return;
}
@@ -1092,6 +1094,7 @@ public partial class PlayerController : CharacterBody3D
LookAround();
CameraModifications((float) delta);
HandleStairs((float) delta);
_plannedMantleLocation = MantleSystem.FindMantleForHeadRotation(HeadSystem.Rotation.Y);
if (WeaponSystem.InHandState.Active)
RotateWeaponWithPlayer();