Tube Examples | Babylon.js Playground (babylonjs.com)
Prompt cannot set properties of undefined (setting ‘x’);
The original tube must have the same number of entries in the path
parameter as the new one. Your original has 3, the new one 4.
Is there any way to support different points
Different number of points? No. The geometry must be recreated if you add new points. You can dispose the old tube and create a new one though.
1 Like