chicagobob123 Posted March 5, 2018 Share Posted March 5, 2018 I created some 3D letters and am using them because the quality holds up when you zoom in and out. These letters are grouped and positions in small groups to make words like STOP and SLOW and markings. So I loaded up the letters and numbers individually as babylon scene files. So I can make any word at any time and place them into the scene. To make a word I load an external file giving offset and center location of the word. I created instance of the characters on demand and position them accordingly until.. That was the background here is the issue. I hit a snag. I wanted to rotate some words. When the letters are independent that math for characters is a little rough like guess work so I was going to MergeMesh them but they are Instances so that was a bad idea. Then I thought maybe I would use the TransformNode but was not sure that would work on an instanced mesh So is there something to group some meshes together and rotate them as a group? I guess I could clone the meshes but that would ad performance hit, right? Quote Link to comment Share on other sites More sharing options...
Guest Posted March 5, 2018 Share Posted March 5, 2018 In your case I suggest keeping instances as they are by far more performant and only create a parent transform node per word. Instances can be parented to a transform node and thus you can manipulate all of them through the parent node Quote Link to comment Share on other sites More sharing options...
chicagobob123 Posted March 5, 2018 Author Share Posted March 5, 2018 I see.. Gave this a try and worked out nicely. Thanks. https://www.babylonjs-playground.com/#ISZHF#7 GameMonetize 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.