I have load STL file in the editor and then after I want to hover on that object with drag control so after hoverOn transform control to controller show, this have allready work perfect in the old version pakcage code but same code not work, because
In old version pakcage code hoveron fucntion only called that object loadStl file object but new version code misleading
addDragControl() {
this.dragControls = new DragControls(this.objects, this.camera, this.renderer.domElement);
this.dragControls.addEventListener('hoveron', this.onHoverObject.bind(this));
// Disable DragControls while TransformControls are active
this.transformcontrols.addEventListener('dragstart', () => {
this.dragControls.enabled = false;
});
this.transformcontrols.addEventListener('dragend', () => {
this.dragControls.enabled = true;
});
}