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

Group2D trackNode error

$
0
0

Then it goes bad. Duplicate labels end up everywhere,Here is an image when I rotate the camera !


                var ui = new BABYLON.ScreenSpaceCanvas2D(scene);
                var radioUi=[]
                for(var i=0;i<meshes.length;i++){
                     radioUi[i] = new BABYLON.Group2D({
                        parent: ui,
                        trackNode: meshes[i],
                        children:
                            [
                                new BABYLON.Rectangle2D({
                                    id: "mainRect", x: -5, y: -5, width: 10, height: 10,
                                    fill: "#abe2ffFF", border: "#0090ffFF", borderThickness: 3,
                                    roundRadius: 5,
                                })
                            ]
                    });
                }

 

bug canvas2d.gif


Viewing all articles
Browse latest Browse all 760

Trending Articles



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