Closed EugeneNIghtingale closed 3 years ago
In the SceneBuilder namespace, NodeBuilders don't contain meshes, instead, you bind a mesh and a node at scene level:
Scene.AddRigidMesh(mesh, node);
How i can with Scene.AddRigidMesh(mesh, node); save my hierarchy of elements, taking into account that the group has several Mesh?
If i use Scene.AddRigidMesh(mesh, node); for each mesh, then I get duplicate hierarchy
AddRigidMesh detects that you're using the same node graph and reuses it, so the hierarchy is not duplicated.
Hello! I am creating a hierarchical tree, the leaves of which should have a mesh. Some like![image](https://user-images.githubusercontent.com/13482075/90698478-3cbbc100-e29a-11ea-815e-afa8327c4233.png)
I use recursive function and NodeBuilder to create a hierarchy
But how can I bind the mesh to a specific Node using NodeBuilder? it doesn't have a .WithMesh method. Thanks =)