TransformControlsWidget

Widget TransformControlsWidget how work ?
it default is the coordinate origin, how can attach one actor to it ?
or its design purpos is what ? I think i dont’s understand it, but on the code repo at github, it would like three.js transformControl。
From the my confused look, i can’t find some doc with the offices only one demo.

You can control the widget by setting the “transform” (translation, scaling, rotation) onto its state (e.g. getWidgetState().getTransform().setTranslation()).

Have a look at this example:

1 Like

thanks, @finetjul