diff --git a/src/Game/States/GameState.cpp b/src/Game/States/GameState.cpp index 7844dbb..89e7b51 100644 --- a/src/Game/States/GameState.cpp +++ b/src/Game/States/GameState.cpp @@ -731,7 +731,7 @@ namespace tsom cameraNode.SetPosition(characterPos + characterRot * (Nz::Vector3f::Up() * Constants::PlayerCameraHeight)); - Nz::Quaternionf cameraRotation = environmentNode->GetRotation() * m_referenceRotation * Nz::Quaternionf(predictedCameraRotation); + Nz::Quaternionf cameraRotation = environmentNode->GetGlobalRotation() * m_referenceRotation * Nz::Quaternionf(predictedCameraRotation); cameraRotation.Normalize(); if (m_isPilotingShip)