Quantcast
Channel: Bugs Latest Topics
Viewing all articles
Browse latest Browse all 760

Half of the tube disappears

$
0
0

Hi,

I'm trying to draw an angle on XOY plane but it seems something is wrong. Here's a sample to reproduce the issue: http://www.babylonjs-playground.com/#RQ5WYS.

I uses the following points to create the tube, but the result is obviously not my expectation.

var myPath = [
            new BABYLON.Vector3(0, 0, 0),
            new BABYLON.Vector3(10, 0, 0),
            new BABYLON.Vector3(0, 10, 0)
    ];
But when I change the 3rd point from (0,10,0) to (0,0,10), i.e. to draw the angle on XOZ plane, the graph looks ok.
In addition, the angle also appears if changing the 3rd point from (0,10,0) to (0.0001, 10, 0), but the tube line tapers along x-axis.
 
Thanks

Viewing all articles
Browse latest Browse all 760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>