Better gravity handling

This commit is contained in:
Marco 2025-06-29 12:35:19 +02:00
commit 16992c2bea
4 changed files with 16 additions and 12 deletions

View file

@ -23,7 +23,7 @@ public partial class Cutscene : BaseState<PlayerState, CharacterBody3D>
base.EnterState();
MainObject.Show();
MainObject.Velocity = Vector3.Zero;
PlayerStorage.MovementDirection = Vector3.Zero;
PlayerStorage.MovementDirection = Vector2.Zero;
}
public override void ExitState()