Make humans move based on their last grid's angle (#5122)
* Make humans move based on their last grid's angle * Fix ghost movement, fix weightless grid parenting * Make sure to init the last grid angle without needing to move
This commit is contained in:
@@ -22,6 +22,8 @@ namespace Content.Shared.Movement.Components
|
||||
/// </summary>
|
||||
bool Sprinting { get; }
|
||||
|
||||
Angle LastGridAngle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Calculated linear velocity direction of the entity.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user