[Fix] 란록 속도 수정

[Add] Npc 추가
This commit is contained in:
hyunbin14
2026-01-05 13:23:19 +09:00
parent a15e64e3c5
commit 1608649c72
62 changed files with 728 additions and 56 deletions
+8 -5
View File
@@ -552,13 +552,16 @@ void CModel::Update_RootBone(_float Amount)
_float4 axis;
XMStoreFloat4(&axis, axisWorld);
_float yaw = 0.f;
/*_float yaw = 0.f;
{
_vector up = XMVectorSet(0.f, 1.f, 0.f, 0.f);
yaw = XMVectorGetY(axisWorld) * angle;
_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);
}
m_pTransform->TurnAngle(axis, yaw);
}
XMStoreFloat4(&m_vPrevRootRot, qCur);