mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 19:15:55 +00:00
Restored enemy animations
This commit is contained in:
parent
57eb6d1724
commit
e85930df5e
3 changed files with 5 additions and 1 deletions
|
|
@ -100,6 +100,7 @@ public partial class Alert : EnemyStateBase
|
|||
NavigationModule.Move(StorageModule.EnemyData.MovementSpeed);
|
||||
|
||||
StorageModule.FacingDirection = MainObject.Velocity.SnapToCardinal().Normalized();
|
||||
StorageModule.AimingDirection = StorageModule.FacingDirection;
|
||||
}
|
||||
|
||||
private void MoveTowardsPosition(Vector2 position)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue