royibernthal Posted September 20, 2016 Share Posted September 20, 2016 I'm creating an invisible Mesh to act as a parent. I'm setting it as the parent of a loaded 3D model (loaded from a .babylon file). The model is displayed as expected, however when I change the rotation of the parent Mesh, the rotation of its child 3D model is not updated. I imagine that setting the position and scaling of the parent Mesh will not affect its child 3D model as well. Why does it happen? How can I solve it? Quote Link to comment Share on other sites More sharing options...
adam Posted September 20, 2016 Share Posted September 20, 2016 Show us the code. This should work. Quote Link to comment Share on other sites More sharing options...
royibernthal Posted September 20, 2016 Author Share Posted September 20, 2016 http://www.babylonjs-playground.com/#1SVN3I#2 Quote Link to comment Share on other sites More sharing options...
adam Posted September 20, 2016 Share Posted September 20, 2016 http://www.babylonjs-playground.com/#1SVN3I#3 Quote Link to comment Share on other sites More sharing options...
royibernthal Posted September 20, 2016 Author Share Posted September 20, 2016 Oops I forgot to write .length in the PG. Locally the problem was related to parent issues. Thanks for the help 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.