Hi guys,
I am myself a beginner, could you explain to me why the line mesh disappears when I merge it.
https://playground.babylonjs.com/#B6IE3E#1
What I am trying to achieve is a combined mesh out of multiple lines meshes with different colors.
Thanks already!
Dominik
AFAIK you can’t merge lines because you don’t really need to: you can draw any number of lines with a single BABYLON.MeshBuilder.CreateLineSystem
call.
Thank you for your answer! I got it to work using the BABYLON.MeshBuilder.CreateLineSystem
. However, IMO the interface is not really clean because then I need to treat a LineMesh differently.
1 Like