mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 08:55:35 +00:00
Enemy FSM Animation
This commit is contained in:
parent
dd3d427ac3
commit
e7c1814d98
12 changed files with 161 additions and 6 deletions
|
|
@ -98,6 +98,8 @@ public partial class Alert : EnemyStateBase
|
|||
}
|
||||
|
||||
NavigationModule.Move();
|
||||
|
||||
StorageModule.FacingDirection = MainObject.Velocity.SnapToCardinal().Normalized();
|
||||
}
|
||||
|
||||
private void MoveTowardsPosition(Vector2 position)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue