i got a problem with generating navigation data. it seems to be working well everywhere except for leoric´s passage
here´s what i do:
-get min/maxBounds from the scene to calc the x/y expands.
-get numSquaresX/Y from the SnoInfo
-loop the SquaresArray in SnoInfo for walkability. Scaling squares like this:
sqareMinX = minBounds.X + sceneExpandX / numSquaresX * arrayPosX;
sqareMaxX = minBounds.X + sceneExpandX / numSquaresX * ( arrayPosX + 1 )
leoric:
cathedral:
looks like leoric´s sould be scaled differently or maybe rotated.
anybody knows what i´m missing?