CreateTube using some points appears wired

Are there any cases that I should avoid during my usage?

Here is the demo:
https://playground.babylonjs.com/?inspectorv2=true#WW0ALQ#2983

any abrupt change of direction will deform enough the vertices that it will be visible. And around the middle point, the tube circles are oriented they appear flat.

You can add more steps around the bend like this : https://playground.babylonjs.com/?inspectorv2=true#WW0ALQ#2984

note the positions around the middle vertex that will help make the bend smoother.

1 Like