This commit is contained in:
GiJungSUk
2025-12-17 11:00:21 +09:00
parent 9909cfc82d
commit 69c0dd7d90
3 changed files with 8 additions and 5 deletions
+4 -2
View File
@@ -97,8 +97,6 @@ void CAccio::Update(_float fTimeDelta)
TrailPos.r[3] += XMLoadFloat3(&m_vCameraLook) * m_fLinearSpeed;
if (m_bHit == true && m_pEnemyCCT != nullptr)
{
/* 특정 대상과 충돌 했다면*/
@@ -209,6 +207,8 @@ HRESULT CAccio::Pre_Setting(CGameObject* pObject, void* pArg)
m_fAccRotateTime = 0.f;
m_pRope_Trail->Get_TrailInfo()->fMass = 0.05f;
return S_OK;
}
@@ -294,6 +294,8 @@ void CAccio::OnCollision(CGameObject* pOther, void* pDesc)
if(m_isDissolve)
m_pRope_Trail->SetDissolve(true);
m_pRope_Trail->Get_TrailInfo()->fMass = 0.1f;
}
void CAccio::Free()
+3 -3
View File
@@ -50,9 +50,9 @@ class CAccio final : public CEffect_Container
CCharacter_Controller* m_pEnemyCCT = { nullptr };
_float m_fAccRotateTime = {};
_float m_fTurnSpeed = { 65.f };
_float m_fRange = { 1.f };
_float m_fAttenuation = { 65.f };
_float m_fTurnSpeed = { 55.f };
_float m_fRange = { 0.7f };
_float m_fAttenuation = { 85.f };
_bool m_isDissolve = { true };
_bool m_isReverse = { false };
_int m_iLoopTime = { 5 };
@@ -34,6 +34,7 @@ class CTrailObject final : public CPartObject
HRESULT Load_Trail(const _char* pPath, LEVEL eLevel);
void SetDissolve(_bool isDissolve) { m_TrailInfo.isDissolve = true; }
TRAIL_INFO* Get_TrailInfo() { return &m_TrailInfo; }
private:
HRESULT Bind_ShaderResources() override;