Koroldev Posted March 1, 2017 Share Posted March 1, 2017 Hi everyone! And question again How I can attach the WorldSpaceCanvas2D to some mesh on my scene? Something like WorldSpaceCanvas2D.parent = myMesh. Or I need changing a canvas position and rotation in every frame? Then next question, how I can change the WorldSpaceCanvas2D position and rotation in worldSpace? Thank! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 1, 2017 Share Posted March 1, 2017 Ping @Nockawa Quote Link to comment Share on other sites More sharing options...
Nockawa Posted March 1, 2017 Share Posted March 1, 2017 Hello, The doc entry point is here: http://doc.babylonjs.com/overviews/canvas2d_home you'll find plenty of playgrounds at the bottom. In the first time tutorial, there's a section about WorldSpaceCanvas and their relationship with 3D Scene Nodes http://doc.babylonjs.com/tutorials/using_the_canvas2d#world-space-canvas Finally I think this PG (also referenced in the doc entry point) will do what you're looking for: http://babylonjs-playground.com/#1KYG17#1 Koroldev 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.