How to apply transform control to multiple meshes at same time

If i use group then it is not selected using raycasting

Here is an example. I am transforming using the whole group.
If you are raycasting to select an object that you will later attach the transform controls to, then you will need to programmatically select the intersected objects parent, or grandparent whichever is appropriate for your use case.

1 Like

Thanks for Help!!

using Ray casting i am not to select gltf model( group object). so i tried to convert it into different meshes using gltf.scene.traverse() method.
Now when i am using Raycaster i am able to get single mesh object and i can attach transform to that selected mesh object.

And that selected mesh has object parent is Scene

but i want to select whole object what should i do??