To generate navmesh of instances using Recast, I extract wmo models from game.
First problem is that instances have wrong angle inside wmo, so to cover positions in game I rotate it in Blender by 90 degress and it works.
Now I have extracted Stratholme model, and if you enter this instance in game you land at position:
(3395.090088
-3380.25
142.701996)
it's not like in Mana Tombs where you land at 0,0,0 or close to it. Position of Stratholme model is like it's still in Azeroth continent.
After I import wmo model to Blender, it's not in correct position (wrong origin?).
So I rotated the model by 90 deg and moved model using Shit+S -> move to Cursor (loc 0,0,0), then walked inside the instance in game to check what location in game is my location 0,0,0 in Blender.
To calculate the path i just substract from original WoW position the vector from location i checked, which is of course not 100% correct by manually checking it, but usually this works, but because it's not 100% correct it goes out of order in some places or far away from starting point.
Is there any better way to check correct location of it inside game / rotate it correctly so Recast won't calculate bugged paths?
Where are location vectors of instance models in WoW world?
Here is my 0,0,0 location in Blender after editing:
https://i.imgur.com/KLBwWoJ.jpg
EDIT:
Somehow solved this problem, in other way.
Magic thing: continent id when you are in Stratholme is 329, but Stratholme instance model is included into Azeroth map!