Question by
MaximilianPs · May 13, 2016 at 07:32 AM ·
navmeshrandomspawningrandomize
Calculate NavMesh Length of Side X and Z ?
Hello there,
I still have some problem on placing some cylindrical object on my walkable area. So, to be absolutely sure that I'm doing right programmatically, I would like calculate the size of my NavMesh mesh and create a 2D grid (2D array) to place al my objects.
To do That I need to know size on X size and Z side for my walkable terrain.... but how to ?
Something like in picture, where the red X are the object excluded 'cause out of walkable area and blueX are excluded at random, just to generate a bit of more "casuality"
untitled.jpg
(99.0 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612080720im_/https://answers.unity.com/themes/thub/images/avi.jpg)