46 Days Ago
Auto calculate tiling parameters This avoids having to expose them, while we are not sure if they should be. Optimize tile geometry collection Only add physic shapes to generator that are in bounds Make tile geometry collection thread safe Speed navmesh geometry collection for scenes with complex physicbodies The geometry collection is optimized by only collecting the PhysicsShapes of a PhysicsBody that are actually in the navmesh bounds. Previously, all shapes of a PhysicsBody were collected, which resulted in a lot of irrelevant geometry being collected. This optimization significantly speeds up the overall navmesh generation (70 times faster when benchmarked on FP square).