Has anyone come across a method to update the shape and/or other options in a lathe mesh? Currently I'm just redrawing them, but every update called on it just creates a new one, and disposing it is not working.
What I want to do is basically just:
this.lathe.shape = pointArray;
But I don't think there is any way to access it or set it.
I have tried this method of disposing and building a new mesh and it doesn't work and is not ideal for what I'm trying to do:
this.lathe.dispose();
this.lathe = BABYLON.MeshBuilder.CreateLathe(...);
Via Active questions tagged javascript - Stack Overflow https://ift.tt/8u6HOro
Comments
Post a Comment