Hey all,
I’m trying to create code that generates walls procedurally. For that I create my own meshes, use them to create a mesh instance and add that mesh instances to a model.
The problem is, the model will only show the first mesh instance. I’m probably doing something wrong with the graph/nodes, but I’m new to playcanvas and not yet completely up to speed with how it works, I’m having a difficult time finding how to use the nodes to create a model with several different meshes in it.
Can somebody explain what I’m doing wrong?
https://playcanvas.com/editor/scene/400228
Code is in: PlayCanvas | HTML5 Game Engine