[Fix] 플레이어 애니메이션 튀는거 수정
[Add] 고블린 대거 추가 [Add] 트롤 돌 던지기 추가
This commit is contained in:
@@ -42,7 +42,7 @@ _bool CAnimation::Update_TransformationMatrices(const vector<class CBone*>& Bone
|
||||
|
||||
if (m_fCurrentTrackPosition >= m_fDuration) {
|
||||
if (false == bIsLoop) {
|
||||
m_fCurrentTrackPosition = 0.f;
|
||||
m_fCurrentTrackPosition = m_fDuration;
|
||||
m_fTempTrack = 0.f;
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -300,8 +300,6 @@ HRESULT CCharacter_Controller::Initialize_Prototype()
|
||||
|
||||
HRESULT CCharacter_Controller::Initialize(void* pArg)
|
||||
{
|
||||
m_bGravity = false;
|
||||
|
||||
Character_Controller_DESC* pDesc = static_cast<Character_Controller_DESC*>(pArg);
|
||||
{ // Character_Controller_DESC
|
||||
m_eBodyType = pDesc->eBodyType;
|
||||
|
||||
@@ -160,6 +160,8 @@ _bool CModel::Play_Anim(_float fTimeDelta, CTransform* pTransform)
|
||||
m_iPreAnimIndex = m_iCurrentAnimIndex;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
if (m_bIsFinishedAnim)
|
||||
{
|
||||
@@ -283,7 +285,7 @@ _bool CModel::Play_Dual_Anim(_float fTimeDelta, CTransform* pTransform)
|
||||
m_bLoopRestarted = true;
|
||||
}
|
||||
else{
|
||||
XMStoreFloat3(&m_vPrevRootPos, m_vector[2]);
|
||||
//XMStoreFloat3(&m_vPrevRootPos, m_vector[2]);
|
||||
}
|
||||
|
||||
m_vPrevRootRot = { 0.f,0.f,0.f,0.f };
|
||||
|
||||
Reference in New Issue
Block a user