thrice Posted January 16, 2017 Share Posted January 16, 2017 I am attempting to position a rectangle at the bottom left of the tracked node origin using Canvas2d, I can't figure it out for the life of me. http://babylonjs-playground.com/#1N9RJY#77 For example: modifying origin (0,0) does not position the rect at the bottom left of the tracked node. Basically I am building a card game, and would like to be able to position various blocks of text's relative to a particular card (attributes and such) - The cards themselves are planes. Anyone have any ideas, or do I need to take a different overall approach? I saw another example http://babylonjs-playground.com/#1N9RJY#58 - in which a new WorldSpace canvas is created everytime text needs to be rendered, but, is that kosher performance wise? Maybe I'm just hesitant because rendering a canvas seems like an expensive operation (although I haven't drilled into it to see what is actually going on yet) Anyways, the tracked object strategy would be perfect / easiest by far, IF I could set origin. Quote Link to comment Share on other sites More sharing options...
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.