Sign in to follow this  
fateriddle

How do I get the transformNode under root mesh?

Recommended Posts

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?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.