Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] It's the model collision?

[DiscordArchive] It's the model collision?

[DiscordArchive] It's the model collision?

Pages (7): Previous 1 3 4 5 6 7  
rektbyfaith
Administrator
0
11-24-2023, 07:00 AM
#61
Archived author: Frost® • Posted: 2023-11-24T07:00:11.670000+00:00
Original source

450.044281 is the high after death with hover enabled, correct high maybe 448.740997 but cant set it on death
rektbyfaith
11-24-2023, 07:00 AM #61

Archived author: Frost® • Posted: 2023-11-24T07:00:11.670000+00:00
Original source

450.044281 is the high after death with hover enabled, correct high maybe 448.740997 but cant set it on death

rektbyfaith
Administrator
0
11-24-2023, 07:11 AM
#62
Archived author: Frost® • Posted: 2023-11-24T07:11:29.819000+00:00
Original source

hmmmm these seems to work:
void JustDied(Unit*) override
{
summons.DespawnAll();
me->StopMoving();
if (m_pInstance)
m_pInstance->SetData(TYPE_KOLOGARN, DONE);

Talk(SAY_DEATH);
me->SetHover(true); // corspe does not fall down through the ground anymore
me->UpdatePosition(me->GetPositionX(), me->GetPositionY(), 448.740997, me->GetOrientation(),true); //set correct? high for the body after death
me->SetPositionDataUpdate(); // send pos data out
me->SetCorpseDelay(604800); // Prevent corpse from despawning.
rektbyfaith
11-24-2023, 07:11 AM #62

Archived author: Frost® • Posted: 2023-11-24T07:11:29.819000+00:00
Original source

hmmmm these seems to work:
void JustDied(Unit*) override
{
summons.DespawnAll();
me->StopMoving();
if (m_pInstance)
m_pInstance->SetData(TYPE_KOLOGARN, DONE);

Talk(SAY_DEATH);
me->SetHover(true); // corspe does not fall down through the ground anymore
me->UpdatePosition(me->GetPositionX(), me->GetPositionY(), 448.740997, me->GetOrientation(),true); //set correct? high for the body after death
me->SetPositionDataUpdate(); // send pos data out
me->SetCorpseDelay(604800); // Prevent corpse from despawning.

rektbyfaith
Administrator
0
11-24-2023, 07:17 AM
#63
Archived author: Frost® • Posted: 2023-11-24T07:17:50.739000+00:00
Original source

BUT Position is then to low:
[Image: image.png?ex=690c4b9e&is=690afa1e&hm=52b...47659360b&]
rektbyfaith
11-24-2023, 07:17 AM #63

Archived author: Frost® • Posted: 2023-11-24T07:17:50.739000+00:00
Original source

BUT Position is then to low:
[Image: image.png?ex=690c4b9e&is=690afa1e&hm=52b...47659360b&]

rektbyfaith
Administrator
0
11-24-2023, 07:17 AM
#64
Archived author: Frost® • Posted: 2023-11-24T07:17:53.526000+00:00
Original source

idk why xD
rektbyfaith
11-24-2023, 07:17 AM #64

Archived author: Frost® • Posted: 2023-11-24T07:17:53.526000+00:00
Original source

idk why xD

Pages (7): Previous 1 3 4 5 6 7  
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)