How can i use "Shift+Click" to add/remove objects to/from a group so that grouped objects can be transformed as a union

Sorry that i am new to babylon. And i got this question, how can i use “Shift+Click” to add/remove objects to/from a group so that grouped objects can be transformed as a union in Babylon, please refer to three.js examples, just like that effect.

Welcome to the forum !!!

You can detect shift click in the input observable on the scene and reparent the objects to a dedicated transform node to act as a group.

1 Like

Thank you so much for the help, it solved my problem!

1 Like