Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] when the npc falls under the ground, is the groundZ > INVALID_HEIGHT check triggered?

[DiscordArchive] when the npc falls under the ground, is the groundZ > INVALID_HEIGHT check triggered?

[DiscordArchive] when the npc falls under the ground, is the groundZ > INVALID_HEIGHT check triggered?

rektbyfaith
Administrator
0
08-27-2025, 12:24 PM
#1
Archived author: Riztazz • Posted: 2025-08-27T12:24:02.674000+00:00
Original source

when the npc falls under the ground, is the groundZ > INVALID_HEIGHT check triggered?
rektbyfaith
08-27-2025, 12:24 PM #1

Archived author: Riztazz • Posted: 2025-08-27T12:24:02.674000+00:00
Original source

when the npc falls under the ground, is the groundZ > INVALID_HEIGHT check triggered?

rektbyfaith
Administrator
0
08-27-2025, 12:25 PM
#2
Archived author: Riztazz • Posted: 2025-08-27T12:25:40.335000+00:00
Original source

if you do a 40y search, the position you generate might be under map and that +5.f will not help if the Z difference between ur object and generated position turns out to be bigger and you will get invalid position as well probably
rektbyfaith
08-27-2025, 12:25 PM #2

Archived author: Riztazz • Posted: 2025-08-27T12:25:40.335000+00:00
Original source

if you do a 40y search, the position you generate might be under map and that +5.f will not help if the Z difference between ur object and generated position turns out to be bigger and you will get invalid position as well probably

rektbyfaith
Administrator
0
08-27-2025, 12:26 PM
#3
Archived author: Riztazz • Posted: 2025-08-27T12:26:09.616000+00:00
Original source

also why are you generating those positions like that and doing an additional raycast?
rektbyfaith
08-27-2025, 12:26 PM #3

Archived author: Riztazz • Posted: 2025-08-27T12:26:09.616000+00:00
Original source

also why are you generating those positions like that and doing an additional raycast?

rektbyfaith
Administrator
0
08-27-2025, 12:27 PM
#4
Archived author: Riztazz • Posted: 2025-08-27T12:27:48.792000+00:00
Original source

and if you really really want to raycast those, afaik you're doing a quest in netherstorm? There is nothing above you so just raycast from higher Z and maybe ignore models;p
rektbyfaith
08-27-2025, 12:27 PM #4

Archived author: Riztazz • Posted: 2025-08-27T12:27:48.792000+00:00
Original source

and if you really really want to raycast those, afaik you're doing a quest in netherstorm? There is nothing above you so just raycast from higher Z and maybe ignore models;p

rektbyfaith
Administrator
0
08-27-2025, 02:04 PM
#5
Archived author: Crane • Posted: 2025-08-27T14:04:03.399000+00:00
Original source

No, it's not a quest in Netherstorm in the forests of Terokar. I'm currently trying all sorts of combinations, and 40 yards is always the distance to the player position, so the NPC shouldn't move further than 40 yards.
rektbyfaith
08-27-2025, 02:04 PM #5

Archived author: Crane • Posted: 2025-08-27T14:04:03.399000+00:00
Original source

No, it's not a quest in Netherstorm in the forests of Terokar. I'm currently trying all sorts of combinations, and 40 yards is always the distance to the player position, so the NPC shouldn't move further than 40 yards.

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)