Move Eye Lerping to content and fix/improve it a bunch. (#5900)

This commit is contained in:
Vera Aguilera Puerto
2021-12-27 18:50:00 +01:00
committed by GitHub
parent b0bdc0336e
commit 525c38b794
4 changed files with 142 additions and 4 deletions

View File

@@ -50,6 +50,7 @@ namespace Content.Shared.Movement.Components
private MoveButtons _heldMoveButtons = MoveButtons.None;
[ViewVariables]
public Angle LastGridAngle { get; set; } = new(0);
public float CurrentWalkSpeed => _movementSpeed?.CurrentWalkSpeed ?? MovementSpeedModifierComponent.DefaultBaseWalkSpeed;