Recently, I experimented with the THREE.js editor tool. When you click on an object, a set of tools for translation, rotation, and scaling appear in the scene. These tools allow you to modify the object's position, rotation, and size. I attempted to understand how the code operates, but so far, I have only come across the EditorControls, which specifically controls the camera.
https://i.sstatic.net/Gfn0y.png
I am curious about how I can implement these tools in my own project. Can anyone provide guidance on this?