How to reparent objects?

I assume I can use .add() but that requires an Object3D, does that reparent an object with its components?

Original Post on Discord

by user 103054507105067008


It’s probably better to use GameObject.add tho - I think at the moment the three.js add call is not watched hence nobody calls onDisable and onEnable during the process on your components (in case any of them relies on it)

Got ya. thanks

by user 103054507105067008