small camera animation on mantle
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 6m0s

This commit is contained in:
2025-11-11 11:38:49 +01:00
parent e70a2e7537
commit 27130257c9
4 changed files with 75 additions and 2 deletions

View File

@@ -979,6 +979,8 @@ public partial class PlayerController : CharacterBody3D
private Vector3 _preMantleVelocity = Vector3.Zero;
public void MantleToLocation(Vector3 location)
{
HeadSystem.OnMantle();
_preMantleVelocity = Velocity;
var mantleTween = CreatePositionTween(location, MantleTime);
mantleTween.Finished += MantleFinished;