GERDE Posted March 17, 2016 Share Posted March 17, 2016 Hello I'm beginner in BabylonJS I would link two cube with a "BABYLON.Mesh.CreateLines " but when moving a cube or two I would like the link remains attached to the cubes . Thx and have a good day ! Quote Link to comment Share on other sites More sharing options...
RaananW Posted March 17, 2016 Share Posted March 17, 2016 Hi GERDE, Your question is very unclear. It would be wonderful if you provided a playground for us to understand what you are trying to do. Quote Link to comment Share on other sites More sharing options...
Wingnut Posted March 18, 2016 Share Posted March 18, 2016 Hi Gerde, welcome aboard. Hi to you, too, Raanan. Perhaps something like this? http://playground.babylonjs.com/#1EBCJY#3 Or this? http://playground.babylonjs.com/#1MJP1M Keep us posted... and you have a good day, too! GERDE and GameMonetize 2 Quote Link to comment Share on other sites More sharing options...
GERDE Posted March 21, 2016 Author Share Posted March 21, 2016 Wingnut thank you for your code that is exacltly what I was looking for. http://playground.babylonjs.com/#1MJP1M A good day to all members and especially wingnut ! P.S: Sorry for my first topic poorly edited... Wingnut 1 Quote Link to comment Share on other sites More sharing options...
Wingnut Posted March 22, 2016 Share Posted March 22, 2016 Thanks Gerde! I stole most of the code... from Jerome, I believe. The URL to the doc... is inside the demo. I just stack/use great tools that were made by others. We have a BIG, POWERFUL toolbox/toybox here in BJS. It is quite fun attaching the toys and tools to each other, and turning-on the power switch. Sometimes, the resulting explosions are more fun than the initial goal. But that makes me play with the explosion for long hours, and I forget what the original goal WAS. GERDE 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.