Hi
Is there a way I could use the function “RecastGenerator.SnapForceBoundsToScene ();”? I need this because my levels greatly vary. Some are quite big and some are really small. So instead of having a box that is 200x40x200 and try and scan that everytime a level generates it could be much smaller and therefor not spending as much time. I tried this while in the editor and this is the result I got.
With a 200x40x200 box, when the level first generated and then scanned, it took around 100 ms. Now when I snapped it down to what the actual size is of one of the smallest levels (12x≈1.4x30), it took 13 ms. That is quite the difference.
But how can I access that function from a script? I can not find a way to do it. If it is not possible, please add a way to use it a bit easier.
Thanks