TransfromControls can't attach to selected objects. TransformControls move separate from selected objects

I try create simple scene with very simple setup for TransformControls but it not working as it should be.

this my code:

 this.m_TransformControls = new TransformControls(this.m_Camera,this.m_Canvas);
        EventManager.Instance.Subscribe(EventType.SELECTED,(obj: Object3D) =>

thank you in advance :smile:

Here is a simple example of TransfromControls, hopefully it will help you find the problem.

1 Like