I’m trying loading a glb file containg EXT_mesh_gpu_instancing objects. It loads just fine but I cant pick the instanced meshes. There are several instanced meshes, blue chairs for example. Tried it in the sandbox and also using pickResult. Is this something that should work or do I need to use some workaround for picking instanced meshes using EXT_mesh_gpu_instancing?
Your are using thin instances which are utterly fast but cannot be picked
On my phone right now so let me ask @Evgeni_Popov if we have an option to use instances instead of thin instances in that case
Thanks for the speedy response! So, if I understand correctly meshes using EXT_mesh_gpu_instancing will become thin instances in babylon? And by adding support for picking on thin instances it will also work for the meshes that use EXT_mesh_gpu_instancing? That would be awesome!
Here’s a PG with thin instances picking enabled: the selected thin instance is highlighted so that you can see what’s going on (check also the console log where the coordinates of the picked point are dumped, as well as the thin instance index).
I still cant get my playground scene to work with the the picking. Can you check what I need to todo different? I only get picking on non thin instances in the scene.
Thanks! That seemes todo it:) I noticed that it does not work in the sandbox when picking mode is on. Maybe thin instances picking should also be toggled on/off when toggling picking in the sandbox.