[Fix] 플레이어 디졸브 수정
This commit is contained in:
@@ -365,6 +365,7 @@ void CBroom::Behavior_Broom_FlyEnter()
|
||||
{
|
||||
pair<_uint, _bool> pairAnimInfo = {};
|
||||
m_pFSM->Enable_State(FSMSTATE::FLY);
|
||||
m_pModelCom->Set_BlendDuration(0.8f);
|
||||
m_bHoverToggle = false;
|
||||
pairAnimInfo = pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false);
|
||||
@@ -555,6 +556,7 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta)
|
||||
void CBroom::Behavior_Broom_FlyExit()
|
||||
{
|
||||
m_pFSM->Disable_State(FSMSTATE::FLY);
|
||||
m_pModelCom->Set_BlendDuration(0.3f);
|
||||
}
|
||||
|
||||
void CBroom::Behavior_Broom_TurboFlyEnter()
|
||||
@@ -562,6 +564,7 @@ void CBroom::Behavior_Broom_TurboFlyEnter()
|
||||
pair<_uint, _bool> pairAnimInfo = {};
|
||||
m_pFSM->Enable_State(FSMSTATE::TURBOFLY);
|
||||
m_bTurbo = true;
|
||||
m_pModelCom->Set_BlendDuration(0.8f);
|
||||
m_bHoverToggle = false;
|
||||
pairAnimInfo = pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false);
|
||||
@@ -752,7 +755,7 @@ HRESULT CBroom::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta)
|
||||
void CBroom::Behavior_Broom_TurboFlyExit()
|
||||
{
|
||||
m_pFSM->Disable_State(FSMSTATE::TURBOFLY);
|
||||
|
||||
m_pModelCom->Set_BlendDuration(0.3f);
|
||||
Boost_Effect_Visible(false);
|
||||
}
|
||||
|
||||
|
||||
@@ -472,8 +472,8 @@ HRESULT CElf::Ready_Components(void* pArg)
|
||||
Desc.eBodyType = ACTOR::CAPSULE;
|
||||
Desc.fContactOffset = 0.0001f;
|
||||
Desc.fMaterial = { 1.2f, 1.0f, 0.0f };
|
||||
Desc.bAutoStepping = { false };
|
||||
Desc.fStepOffset = { 0.02f };
|
||||
Desc.bAutoStepping = { true };
|
||||
Desc.fStepOffset = { 0.08f };
|
||||
Desc.fRadius = 0.2f;
|
||||
Desc.fHeight = 0.3f;
|
||||
Desc.pCallback_HitReport = m_pCallBack_HitReport = CCallBack_NonPlayable_HitReport::Create();
|
||||
|
||||
@@ -743,6 +743,11 @@ void CTroll::Describe_Entity()
|
||||
if (GUI::CollapsingHeader("Troll")) {
|
||||
__super::Describe_Entity();
|
||||
|
||||
if (GUI::Button("Dead"))
|
||||
{
|
||||
m_pFSM->Change_State(FSMSTATE::DEAD);
|
||||
}
|
||||
|
||||
_float4x4 socketMat = *m_pModelCom->Get_BoneMatrixPtr("HeadEnd");
|
||||
|
||||
_string strSocket = "Socket " + to_string(socketMat._41) + to_string(socketMat._42) + to_string(socketMat._43);
|
||||
|
||||
@@ -822,10 +822,6 @@ HRESULT CTroll::Behavior_DeadExitCheck(_float fTimeDelta)
|
||||
m_fDeadRatio += fTimeDelta / 3.f;
|
||||
m_fDeadRatio = min(1.f, m_fDeadRatio);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_fDeadRatio = 0.f;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -125,6 +125,14 @@ HRESULT CTroll_Weapon::Render()
|
||||
m_pGripShape->Draw(m_pTransformCom->Get_XMWorldMatrix(), m_pGameInstance->Get_Transform_Matrix(D3DTS::VIEW), m_pGameInstance->Get_Transform_Matrix(D3DTS::PROJ), DirectX::Colors::Green, nullptr, true);
|
||||
m_pSubShape->Draw(XMLoadFloat4x4(&m_HammerMatrix), m_pGameInstance->Get_Transform_Matrix(D3DTS::VIEW), m_pGameInstance->Get_Transform_Matrix(D3DTS::PROJ), DirectX::Colors::Purple, nullptr, true);
|
||||
#endif // _DEBUG
|
||||
|
||||
{
|
||||
_bool bDisolve = false;
|
||||
_float zero = 0.f;
|
||||
m_pShaderCom->Bind_RawValue("g_bDisolve", &bDisolve, sizeof(_bool));
|
||||
m_pShaderCom->Bind_RawValue("g_fDisolveRatio", &zero, sizeof(_float));
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -27,55 +27,55 @@
|
||||
|
||||
<Name Flow="4">
|
||||
<Position>
|
||||
<Pos x="-2.088" y="-18.099" z="-47.244"/>
|
||||
<Pos x="-0.871" y="-17.706" z="-47.309"/>
|
||||
</Position>
|
||||
</Name>
|
||||
|
||||
<Name Flow="5">
|
||||
<Position>
|
||||
<Pos x="3.535" y="-14.009" z="-32.619"/>
|
||||
<Pos x="4.606" y="-13.998" z="-34.007"/>
|
||||
</Position>
|
||||
</Name>
|
||||
|
||||
<Name Flow="6">
|
||||
<Position>
|
||||
<Pos x="3.535" y="-14.009" z="-32.619"/>
|
||||
<Pos x="4.606" y="-13.998" z="-34.007"/>
|
||||
</Position>
|
||||
</Name>
|
||||
|
||||
<Name Flow="7">
|
||||
<Position>
|
||||
<Pos x="3.535" y="-14.009" z="-32.619"/>
|
||||
<Pos x="4.606" y="-13.998" z="-34.007"/>
|
||||
</Position>
|
||||
</Name>
|
||||
|
||||
|
||||
<Name Flow="8">
|
||||
<Position>
|
||||
<Pos x="3.535" y="-14.009" z="-32.619"/>
|
||||
<Pos x="4.606" y="-13.998" z="-34.007"/>
|
||||
</Position>
|
||||
</Name>
|
||||
|
||||
<Name Flow="9">
|
||||
<Position>
|
||||
<Pos x="3.535" y="-14.009" z="-32.619"/>
|
||||
<Pos x="4.606" y="-13.998" z="-34.007"/>
|
||||
</Position>
|
||||
</Name>
|
||||
|
||||
|
||||
<Name Flow="10">
|
||||
<Position>
|
||||
<Pos x="3.535" y="-14.009" z="-32.619"/>
|
||||
<Pos x="4.606" y="-13.998" z="-34.007"/>
|
||||
</Position>
|
||||
</Name>
|
||||
|
||||
<Name Flow="11">
|
||||
<Position>
|
||||
<Pos x="3.535" y="-14.009" z="-32.619"/>
|
||||
<Pos x="4.606" y="-13.998" z="-34.007"/>
|
||||
</Position>
|
||||
</Name>
|
||||
|
||||
<Name Flow="12">
|
||||
<Position>
|
||||
<Pos x="3.535" y="-14.009" z="-32.619"/>
|
||||
<Pos x="4.606" y="-13.998" z="-34.007"/>
|
||||
</Position>
|
||||
</Name>
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<GOBLIN>
|
||||
<Object Name="Goblin">
|
||||
<RotQ X="-0.000" Y="-0.657" Z="-0.000" W="0.754"/>
|
||||
<Trans X="-29.049" Y="-23.982" Z="-55.791"/>
|
||||
<RotQ X="0.000" Y="0.955" Z="0.000" W="0.298"/>
|
||||
<Trans X="-24.541" Y="-23.196" Z="-58.537"/>
|
||||
</Object>
|
||||
<Object Name="Goblin_Mage">
|
||||
<RotQ X="0.000" Y="0.955" Z="0.000" W="0.298"/>
|
||||
<Trans X="-24.541" Y="-23.196" Z="-58.537"/>
|
||||
<RotQ X="0.000" Y="0.760" Z="0.000" W="-0.650"/>
|
||||
<Trans X="-32.229" Y="-24.335" Z="-51.151"/>
|
||||
</Object>
|
||||
<Object Name="Goblin_Assassin">
|
||||
<RotQ X="-0.000" Y="-0.186" Z="-0.000" W="0.983"/>
|
||||
|
||||
Reference in New Issue
Block a user