[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?
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?
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
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?
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
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.