This commit is contained in:
GiJungSUk
2025-12-15 22:21:51 +09:00
parent 6989e8c38b
commit d13c13b8cf
14 changed files with 119 additions and 22 deletions
+10
View File
@@ -61,6 +61,11 @@ HRESULT CPlayer::Initialize(void* pArg)
}
#ifdef _DEBUG
Load_KeyFrame();
#if 진우
m_isDebugMode = true; // 디버그 무적 모드
#endif
#endif // _DEBUG
m_pBroomModel = m_pBroom->Get_Component<CModel>();
@@ -304,6 +309,11 @@ HRESULT CPlayer::Render_Shadow(SHADOW eType)
}
void CPlayer::OnCollision(CGameObject* pOther, void* pDesc)
{
#ifdef _DEBUG
if (m_isDebugMode == true)
return;
#endif
ON_COLLISION_INFO* CollisionDesc = static_cast<ON_COLLISION_INFO*>(pDesc);
if (CollisionDesc) {
Check_HitAngle(XMLoadFloat4(&CollisionDesc->vHitDir));