From 28aa88608f2acb8c456393bb1aae29460b2850bd Mon Sep 17 00:00:00 2001 From: Kelsi Date: Mon, 9 Feb 2026 17:18:05 -0800 Subject: [PATCH] Fix game object rotation - remove incorrect 90 degree offset Game objects (wreaths, guild vaults, mailboxes, etc) were being rotated 90 degrees incorrectly due to an unnecessary orientation offset when spawning. Fixed by removing the glm::radians(90.0f) offset from renderYaw calculation. Objects now use the correct server-provided orientation directly. Affects both WMO and M2 game object rendering. --- src/core/application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/application.cpp b/src/core/application.cpp index 26c26fde..7059a57f 100644 --- a/src/core/application.cpp +++ b/src/core/application.cpp @@ -2573,7 +2573,7 @@ void Application::spawnOnlineGameObject(uint64_t guid, uint32_t displayId, float bool isWmo = lowerPath.size() >= 4 && lowerPath.substr(lowerPath.size() - 4) == ".wmo"; glm::vec3 renderPos = core::coords::canonicalToRender(glm::vec3(x, y, z)); - float renderYaw = orientation + glm::radians(90.0f); + float renderYaw = orientation; bool loadedAsWmo = false; if (isWmo) {