From 8ee79df675143c15b02a01964b17fbdde82a213c Mon Sep 17 00:00:00 2001 From: hyunbin14 Date: Mon, 5 Jan 2026 13:40:52 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]=20=ED=9A=8C=EC=A0=84=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jusin154_Team3D/Engine/Private/Model.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Jusin154_Team3D/Engine/Private/Model.cpp b/Jusin154_Team3D/Engine/Private/Model.cpp index 922662295..b9dd4a91a 100644 --- a/Jusin154_Team3D/Engine/Private/Model.cpp +++ b/Jusin154_Team3D/Engine/Private/Model.cpp @@ -552,15 +552,13 @@ void CModel::Update_RootBone(_float Amount) _float4 axis; XMStoreFloat4(&axis, axisWorld); - /*_float yaw = 0.f; - { - _vector up = m_pTransform->Get_State(STATE::UP); - yaw = axis.y * angle; - } - m_pTransform->TurnAngle(axis, yaw);*/ swap(axis.z, axis.y); - if (m_bRootBone) { - m_pTransform->TurnAngle(axis, angle); + + _float yaw = axis.y * angle; + + if (m_bRootBone) + { + m_pTransform->TurnAngle_Y(yaw); } }