fateriddle Posted November 8, 2018 Share Posted November 8, 2018 This is a straight forward question, how do I get the transformNode under root mesh? The asset has a root mesh with id '__root__', putting it in sandbox, I see a transformNode 'node-0' under it, with 3 subMeshes under that transformNode 'node-0'. So I want to get that transformNode, how? ImportMesh will return all meshes, and I can get access to the root with const obj = newMeshes[0] How do I find that transformNode then? Quote Link to comment Share on other sites More sharing options...
Guest Posted November 8, 2018 Share Posted November 8, 2018 newMeshes[0].getChildren()[0] ? 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.