TransformControls in Ortho mode are misaligned with mouse events

When I’m using an orthographic camera, and ai try to use TransformControls (after moving the camera around with OrbitControls), I can not hover on the visible transform controls, but instead I have to hover somewhere in nearby space in order to make the controls highlight.

For example, in the screenshot, my cursor is off to the right, which makes the controls on the left be highlighted:


Any idea why the mouse position if offset from the the rendering? Is it because I’m using an orthographic camera with OrbitControls and zooming?

Does it work with the newer version (2.0) of TransformControls?

I saw that, I’ll try it tomorrow!

If it’s not working, you might want to add a comment (in some sense a feature request) to the linked PR.

1 Like