luka_friend Posted December 7, 2014 Share Posted December 7, 2014 Hello!I am trying to create a grid of bar elements (to form some kind of net) and I was wondering if there is a way to group these bars, so when I want to move the net, all of the children objects would move also. EXAMPLE:var bar1 = new BABYLON.Mesh.CreateBox(name, 1, scene);var bar2 = new BABYLON.Mesh.CreateBox(name, 1, scene);var bar3 = new BABYLON.Mesh.CreateBox(name, 1, scene); <-- how do I group bar1, bar2, bar3 so that I could use :group.position.x = 10; 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.