This commit is contained in:
CortexCore
2024-03-24 02:05:16 +08:00
parent bfc869d19e
commit 65d90d1bfa
48 changed files with 7433 additions and 7600 deletions

View File

@@ -585,6 +585,7 @@ namespace BITFALL.Entities.Player.Movement
var value = currentGravity.y;
//Debug.Log($"Vector:{currentVelocity}\tMagnitude:{value}\tGravity:{currentGravity}");
//Debug.Log(value);
OnCommand?.Invoke(new OnPlayerLandCommand());
switch (value)
{
case > 0:
@@ -609,6 +610,7 @@ namespace BITFALL.Entities.Player.Movement
if (actor.IsGrounded is false && actor.IsStable is false)
{
landFreeze.Reset();
}
}