i’m loading some 3D-models form blender as glb into my three js scene. After this i want interact with these Objects, but if i want to access to them with “scene.children” for example i always get that the object us “undefined”. Is it even possible too animate importet objects.
Thank you in advance.
Instead of working through the object hierarchy manually, it’s best if you give objects a name before exporting and then use
gltf.scene.getObjectByName( 'name' ); to query them.
i already tried this, its still undefinded
Then please show what you are doing with a live example or GitHub repository.