Convert Gltf model in one mesh

Hi after load the model i add the raycast the functionality when I call then it will show specific model mesh. I want to make a model in one mesh so after being call with raycast it will easy to click one model rather then specific mesh of model click .Is there any way to handle :slight_smile:

GLTFLoader will always return a THREE.Group as the gltf.scene argument. Whether that Group can be merged into one mesh or not depends on the model. Many models cannot be merged, there is no general solution to that. Iā€™d suggest traversing the model, finding the meshes, and then doing what you need with them. It is almost always possible to structure your code to work with Groups.

1 Like

Thanks for the reply so can i apply transform controller and move all GLTF model?is it possible