Hi there!
The stork.glb provided in the three.js master appears as so under the babylon.js sandbox inspect hierarchy.
My model appears as so:
`var intersectsWizard = raycaster.intersectObjects(wizard.children);`
&
if (intersectsWizard.length > 0) {
var position = {
x: controls.target.x,
y: controls.target.y,
z: controls.target.z
};
var target = {
x: intersectsWizard[0].point.x,
y: intersectsWizard[0].point.y,
z: intersectsWizard[0].point.z
}
is unable to target the mesh, so the question is:
Anybody know how I can target the mesh?
Or alternatively anyone know how I can export the .glb file the same way the hierarchy is in stork.glb (no armature group)
Thanks for reading
p.s when I console.log(scene), I’ve pinpointed the target mesh as so:
children[3].children["“0"”].children[3]