jellix Posted March 18, 2017 Share Posted March 18, 2017 hi, I've build a simple example: http://www.babylonjs-playground.com/#1RSDU1#0 Please enable line 37 to merge the two meshes of the spheres to a new mesh. By that, the global positions of the spheres are "forgotton" and only the local positions relative to their parent are respected. Can anybody tell me how to use the global coordinates of the single meshes? Quote Link to comment Share on other sites More sharing options...
Temechon Posted March 18, 2017 Share Posted March 18, 2017 Hi, Here is the fix : http://www.babylonjs-playground.com/#1RSDU1#1 (line 25) Quote Link to comment Share on other sites More sharing options...
jellix Posted March 18, 2017 Author Share Posted March 18, 2017 Great, thanks a lot! I wouldn't have found the solution myself. 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.