Get the position of mesh from gltf import (__root__)

Dear Forum!

I want to focus the camera on different meshes in a loaded gltf by double clicking them. But i don’t understand how i can access the position information of those meshes if they are parented with root. I’m trying different methods now for days - and i’m just stuck :confused:

made a simple playground demo:

I want to alert the meshes position on double click:

Thank you


how about something like this - ? check each doubletap (double click in pointerish), and if there is a hit - output it?


great thank you!

here’s the version that works:

1 Like