[Fix] 패링카운터공격 완드 튀는거 최대한 수정

[Fix] 듀얼리스트 상태 수정
This commit is contained in:
hyunbin14
2026-01-08 22:40:53 +09:00
parent e2cd5ae575
commit fd0c8cd41c
23 changed files with 203 additions and 140 deletions
@@ -256,7 +256,7 @@ void CBroomRaceManager::Describe_Entity()
CTransform* pTransform =
racer.pAI->Get_Component<CTransform>();
_float fRand = m_pGameInstance->Real_Random_Float(-10.f, 10.f);
spawnPos.m128_f32[0] += fRand;
spawnPos.m128_f32[2] += fRand;
pTransform->Set_State(STATE::POSITION, spawnPos);
pTransform->LookAt(pRingTransform->Get_State(STATE::POSITION));
@@ -265,9 +265,11 @@ void CBroomRaceManager::Describe_Entity()
}
else if (racer.pRacer)
{
CTransform* pTransform =
racer.pRacer->Get_Component<CTransform>();
pTransform->Set_State(STATE::POSITION, spawnPos);
CCharacter_Controller* pCharacter = racer.pRacer->Get_Component<CCharacter_Controller>();
pCharacter->Set_Position(spawnPos);
CTransform* pTransform = racer.pRacer->Get_Component<CTransform>();
// pTransform->Set_State(STATE::POSITION, spawnPos);
pTransform->LookAt(pRingTransform->Get_State(STATE::POSITION));
racer.pRacer->Get_Component<CFSM>()->Change_State(FSMSTATE::BROOM_RIDE);
racer.pRacer->Get_Broom()->Set_Move(false);