Hi.
I’ve created two meshes:
Node sphereNode1 = new Node(“sphere1”);
sphereNode1.Material = material1;
Mesh sphereMesh1 = PolygonModifier.Triangulate((new Sphere(5, 100, 100)).ToMesh());
sphereNode1.Transform.Translation = new Vector3(0, 0, 0);
sphereNode1.Entity = sphereMesh1;
Node boxNode1 = new Node(“box1”);
boxNode1.Material = material2;
Mesh boxMesh1 = PolygonModifier.Triangulate((new Box(“box1”, 30, 30, 30, 5, 5, 5)).ToMesh());
boxNode1.Transform.Translation = new Vector3(-15, 0, 0);
boxNode1.Entity = boxMesh1;
Is possible to create a new mesh from the difference of boxMesh1 and sphereMesh1?
Thanks in advance!