Hello!
I am attempting the following and I can’t seem to find the right incantation.
- build a Blender scene with a “Wall” object and an “Occupant” object.
- Import the scene into Babylon. Seems to work, all meshes are recognized in
console.log(scene.meshes)
- Use the
.clone()
function to create a new Occupant called “Occupant2” - Now I want to send a
ray
from Occupant1 to Occupant2
When I run console.log(scene.meshes)
I get the full list, but when I do the iteration, I only get the objects from the original blender file. There must be an async pattern I’m missing, could someone please point me to it?