This commit is contained in:
hyunbin14
2025-12-12 17:14:47 +09:00
parent e0d26690cc
commit 0aec6206a7
7 changed files with 7 additions and 7 deletions
@@ -51,7 +51,7 @@ void CCallBack_Troll_HitReport::onShapeHit(const PSX::PxControllerShapeHit& hit)
class CUnit* pOwner = (CUnit*)m_pController->Get_Owner();
_vector vLook = pOwner->Get_Component<CTransform>()->Get_State(STATE::LOOK);
_float fDot = XMVectorGetX(XMVector3Dot(XMLoadFloat3((_float3*)&vDir), vLook));
if (fDot > cosf(XM_PIDIV4)) {
if (fDot > cosf(XM_PIDIV4) && vWorldPos.y >= XMVectorGetY(m_pController->Get_Position()) ) {
CModel* pModel = pOwner->Get_Component<CModel>();
_uint iAnimIndex = pModel->Get_AnimIndex();
if (pOwner->Get_AnimInfo(STATEANIM::RUSH_LOOP).first == iAnimIndex) {
@@ -129,7 +129,7 @@ HRESULT CDummy_PhysXPlayable::Ready_Components(void* pArg)
Desc.fContactOffset = 0.001f;
Desc.fMaterial = { 0.5f, 0.5f, 0.6f };
Desc.bAutoStepping = { false };
Desc.fStepOffset = { 0.001f };
Desc.fStepOffset = { 0.015f };
Desc.fRadius = 0.5f;
Desc.fHeight = 1.0f;
Desc.pCallback_HitReport = m_pCallBack_HitReport = CCallBack_Playable_HitReport::Create();
+1 -1
View File
@@ -329,7 +329,7 @@ HRESULT CGoblin::Ready_Components()
Desc.fContactOffset = 0.001f;
Desc.fMaterial = { 1.2f, 1.0f, 0.0f };
Desc.bAutoStepping = { false };
Desc.fStepOffset = { 0.001f };
Desc.fStepOffset = { 0.015f };
Desc.fRadius = 0.6f;
Desc.fHeight = 0.7f;
Desc.pCallback_HitReport = m_pCallBack_HitReport = CCallBack_Monster_HitReport::Create();
@@ -338,7 +338,7 @@ HRESULT CGoblin_Mage::Ready_Components()
Desc.fContactOffset = 0.001f;
Desc.fMaterial = { 1.2f, 1.0f, 0.0f };
Desc.bAutoStepping = { false };
Desc.fStepOffset = { 0.001f };
Desc.fStepOffset = { 0.015f };
Desc.fRadius = 0.6f;
Desc.fHeight = 0.7f;
Desc.pCallback_HitReport = m_pCallBack_HitReport = CCallBack_Monster_HitReport::Create();
@@ -106,7 +106,7 @@ HRESULT CPhysXEffectHitBox::Ready_Components(void* pArg)
Desc.fContactOffset = 0.3f;
Desc.fMaterial = { 1.2f, 1.0f, 0.0f };
Desc.bAutoStepping = { false };
Desc.fStepOffset = { 0.05f };
Desc.fStepOffset = { 0.015f };
Desc.fRadius = 0.5f;
Desc.fHeight = 1.0f;
Desc.pCallback_HitReport = m_pCallBack_HitReport = CCallBack_EffectHitBox_HitReport::Create();
+1 -1
View File
@@ -427,7 +427,7 @@ HRESULT CPlayer::Ready_Components()
Desc.fContactOffset = 0.001f;
Desc.fMaterial = { 1.2f, 1.0f, 0.0f };
Desc.bAutoStepping = { false };
Desc.fStepOffset = { 0.001f };
Desc.fStepOffset = { 0.015f };
Desc.fRadius = 0.5f;
Desc.fHeight = 0.6f;
Desc.pCallback_HitReport = m_pCallBack_HitReport = CCallBack_Playable_HitReport::Create();
+1 -1
View File
@@ -432,7 +432,7 @@ HRESULT CTroll::Ready_Components()
Desc.fContactOffset = 0.001f;
Desc.fMaterial = { 1.2f, 1.0f, 0.0f };
Desc.bAutoStepping = { false };
Desc.fStepOffset = { 0.001f };
Desc.fStepOffset = { 0.015f };
Desc.fRadius = 1.2f;
Desc.fHeight = 1.5f;
Desc.pCallback_HitReport = m_pCallBack_HitReport = CCallBack_Troll_HitReport::Create();