PixelPush Posted May 23, 2017 Share Posted May 23, 2017 If I set various mesh items to be have a common parent mesh. Can I then later access those child mesh items for eg... parent.children //returns an array of items which are parented by "parent" I've had a look through the Mesh Class API but couldn't see anything suitable. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Nesh108 Posted May 23, 2017 Share Posted May 23, 2017 Something like this: https://doc.babylonjs.com/classes/2.4/node#getchildmeshes-directdecendantsonly-predicate-rarr-abstractmesh-classes-2-4-abstractmesh- ? Quote Link to comment Share on other sites More sharing options...
PixelPush Posted May 23, 2017 Author Share Posted May 23, 2017 Ah Brilliant ! Not sure how I missed that. Thanks Nesh 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.