HunsingerUK Posted July 21, 2015 Share Posted July 21, 2015 Can I add a parent to a mesh by the parent mesh's name. I know I can do this by the parents variable, but that doesn't work for my current situation - creating meshes based on an array of json objects. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 21, 2015 Share Posted July 21, 2015 You can get the parent mesh by calling scene.getMeshByName() and then just set child.parent = mesh HunsingerUK 1 Quote Link to comment Share on other sites More sharing options...
HunsingerUK Posted July 21, 2015 Author Share Posted July 21, 2015 fantastic. Thanks! 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.