From a891540dcf082636f92bffc43d9e727e4692752b Mon Sep 17 00:00:00 2001 From: dingo Date: Sat, 27 Dec 2025 21:30:39 -0500 Subject: [PATCH] Missed mob rotation --- Game/Dungeon/MobAI.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Game/Dungeon/MobAI.cs b/Game/Dungeon/MobAI.cs index 79411cf..de5bcd2 100644 --- a/Game/Dungeon/MobAI.cs +++ b/Game/Dungeon/MobAI.cs @@ -655,6 +655,9 @@ public static class MobAI if (dist < 1f) return; + // Update rotation to face movement direction + mob.Rotation = MathF.Atan2(dy, dx); + float moveX = (dx / dist) * speed; float moveY = (dy / dist) * speed;