I’m just trying to merge geometries on one single mesh for generating dynamic navigation meshes. The method I use is:
GeometryBatchFactory.mergeGeometries(geomtries, optiMesh);
The problem comes when I try to merge simple geometries (just wirebox/box and quads created from the scene models’s bounds to make the navigation mesh generation more efficient). The merge method just stucks. The material the geometries have is:
new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
The geometries are created for this purpose so all of them use the same material instance.
(¿Is there already implemented any other method that does the same but with raw meshes?)