I've been attempting to utilize transformControl in my program, but due to the lack of documentation on controls at threejs.org, I find it challenging to tap into its full potential. I'm seeking information on all the properties and methods provided by THREE.TransformControls. The example on threejs.org is fairly easy to understand, however, I'm struggling with detaching an object from transformControl.
control = new THREE.TransformControls(camera, renderer.domElement);
control.addEventListener('change', render);
control.attach(selected_item);
scene.add(control);
The above code will add control to the selected item and place it in the scene.
Now, my goal is to remove that control from the selected item.
Something like: control.remove(selected_item)
Any assistance would be greatly appreciated. Enhanced documentation would also be helpful. :)