Hi Nina,
I am finally back.
Could you reopen the thread?
Here are the messages from the console that I think is related the the flipping:
26 — FlipEnemyFacing: Flipped enemy. Velocity: (2.00, 0.00)
UnityEngine.Debug:Log (object)
EnemyMovement:FlipEnemyFacing () (at Assets/Script/EnemyMovement.cs:32)
EnemyMovement:OnTriggerExit2D (UnityEngine.Collider2D) (at Assets/Script/EnemyMovement.cs:24)
26 — OnTriggerExit2D: Enemy collided with: Ginger (Player)
UnityEngine.Debug:Log (object)
EnemyMovement:OnTriggerExit2D (UnityEngine.Collider2D) (at Assets/Script/EnemyMovement.cs:26)
26 — FlipEnemyFacing: Flipped enemy. Velocity: (2.00, 0.00)
UnityEngine.Debug:Log (object)
EnemyMovement:FlipEnemyFacing () (at Assets/Script/EnemyMovement.cs:32)
EnemyMovement:OnTriggerExit2D (UnityEngine.Collider2D) (at Assets/Script/EnemyMovement.cs:24)
26 — OnTriggerExit2D: Enemy collided with: Ginger (Player)
UnityEngine.Debug:Log (object)
EnemyMovement:OnTriggerExit2D (UnityEngine.Collider2D) (at Assets/Script/EnemyMovement.cs:26)
They are all in 26 so I guess all of them happened in 1 frame?
Best,
O