Hi.
Maybe not the most important thing in the world. But I encountered a project where it would be helpful to have a “loadedTransformNodes” (there might be a better name for this though), as a property when loading meshes with AssetsManager.
Currently we have access to these ones.
But I need to get TransformNodes from the task, and currently I did that by checking if the mesh parent is a TransformNode with the specific name. So something like this
for (const mesh of task.loadedMeshes) {
if (mesh.parent.name === "targetName") {
// do stuff with mesh
}
}
Which, again is not a huge deal, but I feel like it would be helpful to have access to these from the task itself.
Would this be possible?