How can I get `zoomToMouseLocation` to work with orthographic camera?

This is a followup from Ortho camera crashes with `camera.zoomToMouseLocation = true` - the code no longer crashes, but the zoomToMouseLocation does nothing when using an orthographic camera.

Is there a way this can be enabled, or can someone point me in the right direction how to implement this manually?


We d be happy to take a PR for it but basically this will require to adapt the camera top, left, … properties to provide both a zoom like effect and re targeting ones.

1 Like