azerothcore-wotlk icon indicating copy to clipboard operation
azerothcore-wotlk copied to clipboard

NPCs/mobs not aligning to terrain

Open Galuur opened this issue 10 months ago • 3 comments

Current Behaviour

Certain (random) mobs and NPCs will sink into ground while standing or patrolling, resulting in inaccurate alignment with the terrain geometry. On occasion they will completely sink into the ground with only head sticking out, correcting themselves a few seconds later as they move around.

The issue appears to be random, and occurs in every (vanilla) zone i've tested so far. However there are certain places with stationary NPCs where the issues is consistent (such as Org bank NPCs). The issue is widespread across all zones, dungeons and NPCs/mobs, however it's only evident in a handful of instances where the alignment appears to be off.

Expected Blizzlike Behaviour

NPCs and mobs should closely follow the contours of the terrain, without major clipping through the ground.

Source

No response

Steps to reproduce the problem

An example that appears to be consistent:

  1. Deploy a fresh server with no modules
  2. Travel to Orgrimmar bank
  3. Note the positioning of the bank NPCs relative to the floor, as well as the guards inside/outside of the bank.

Extra Notes

Using most up-to-date client data from: https://github.com/wowgaming/client-data/releases/

image image2

AC rev. hash/commit

rev. e863873d4c80 2024-04-03

Operating system

Ubuntu 22.04

Custom changes or Modules

No response

Galuur avatar Apr 07 '24 16:04 Galuur

Screenshot 2024-04-07 122142

Galuur avatar Apr 07 '24 16:04 Galuur

Probably related to #18200 in combination with incorrect / not sniffed spawns

sudlud avatar Apr 07 '24 16:04 sudlud

Probably related to #18200 in combination with incorrect / not sniffed spawns

It does seem to have some relevance to it, however based on my observations the NPCs/mobs in question did not spawn underground or unaligned. They simply traverse through the ground randomly, usually when on an incline or uneven terrain. Normally a minor amount of clipping is expected, however in this case a large portion of the mob ends up underground - sometimes going as far as fully submersing underneath - like in this example during combat:

wow bug

Please note that the mob in this example was not spawned underground. It was stationary in its regular spawn point at the appropriate z value, prior to combat start.

My apologies if i misinterpreted the linked issue.

Galuur avatar Apr 07 '24 21:04 Galuur