This commit is contained in:
GiJungSUk
2025-12-15 14:57:18 +09:00
parent 1bec07f286
commit 1f69bf7f81
17 changed files with 111 additions and 44 deletions
@@ -317,11 +317,11 @@ void CTrailObject::Trail_Update(_fmatrix WorldMat, _float fTimeDelta)
}
void CTrailObject::Rope_Trail_Update(_fmatrix WorldMat, _fmatrix EndWorldMat, _float fTimeDelta)
{
{
if (m_bVisible == false)
return;
m_pTrailCom->Rope_Trail_Update(WorldMat, fTimeDelta, m_TrailInfo.fDamping, m_TrailInfo.fRopeLength , EndWorldMat);
m_pTrailCom->Rope_Trail_Update(WorldMat, fTimeDelta, m_TrailInfo.fDamping, m_TrailInfo.fRopeLength, m_TrailInfo.fMass, EndWorldMat);
}
@@ -591,6 +591,13 @@ HRESULT CTrailObject::Bind_ShaderResources()
#ifdef _DEBUG
void CTrailObject::Describe_Entity()
{
if (GUI::TreeNode("Rope Trail"))
{
GUI::DragFloat("Dampling", &m_TrailInfo.fDamping);
GUI::DragFloat("Rope Length", &m_TrailInfo.fRopeLength);
GUI::TreePop();
}
}
#endif