mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 09:33:51 +00:00
Filter WMO decorative geometry from collision, fix tram portal trigger IDs
Parse MOPY per-triangle flags in WMO groups and exclude detail/decorative triangles (flag 0x04) from collision detection. This prevents invisible walls from objects like gears and railings in WMO interiors. Add WotLK area trigger IDs 2173/2175 to extended-range tram triggers.
This commit is contained in:
parent
cefb05c027
commit
ee4e6a31ce
4 changed files with 30 additions and 3 deletions
|
|
@ -157,6 +157,7 @@ struct WMOGroup {
|
|||
std::vector<WMOVertex> vertices;
|
||||
std::vector<uint16_t> indices;
|
||||
std::vector<WMOBatch> batches;
|
||||
std::vector<uint8_t> triFlags; // Per-triangle MOPY flags (0x04 = detail/no-collide)
|
||||
|
||||
// Portals
|
||||
std::vector<WMOPortal> portals;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue