How to set tube rotation around axis?

Anonymous 7 years ago 0

I have added 2 tubes using the same list of points, but tube A is rotated approx 90 degrees around its axis relative to tube B. I am using MeshBuilder.AddTube(points, diameter, 5, false);

Since the tube is square instead of round, this is noticeable. How can I control the rotation of the tube geometry?

Thanks for any feedback!

Image 23