Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPCs/mobs not aligning to terrain #18684

Open
Galuur opened this issue Apr 7, 2024 · 3 comments
Open

NPCs/mobs not aligning to terrain #18684

Galuur opened this issue Apr 7, 2024 · 3 comments

Comments

@Galuur
Copy link

Galuur commented Apr 7, 2024

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. e863873 2024-04-03

Operating system

Ubuntu 22.04

Custom changes or Modules

No response

@Galuur
Copy link
Author

Galuur commented Apr 7, 2024

Screenshot 2024-04-07 122142

@sudlud
Copy link
Member

sudlud commented Apr 7, 2024

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

@Galuur
Copy link
Author

Galuur commented Apr 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants