Is there a way to get the resulting mesh formed by a few CSG nodes?
CSG Resulting Mesh
Haven't tried but might the get_meshes()
method of the CSGShape work?
Note that the documentation specifies this node has to be the root shape, whatever that means. https://docs.godotengine.org/en/stable/classes/class_csgshape.html#class-csgshape-method-get-meshes
@Megalomaniak said: Haven't tried but might the
get_meshes()
method of the CSGShape work?Note that the documentation specifies this node has to be the root shape, whatever that means. https://docs.godotengine.org/en/stable/classes/class_csgshape.html#class-csgshape-method-get-meshes
Yes. by using a combiner:
func generating_meshes_for_mesh(csg:CSGCombiner):
print("%s %s" % [csg.get_path(), csg.get_meshes().size() > 0])
That was it, thank heaps guys.