small camera animation on mantle
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user