bevy_pancam icon indicating copy to clipboard operation
bevy_pancam copied to clipboard

Rotated orthographic projections are not supported

Open johanhelsing opened this issue 1 year ago • 0 comments

The current code assumes the camera is axis aligned with y up and x to the right.

We could perhaps try to support modes where the camera has been rotated around the z axis.

This would probably make the limits API (max_x etc.) a bit awkward to use (what does it even mean if the camera is rotated 45 degrees?)

So if we implement this, it's probably best to just turn off panning limits.

Maybe it's better to just define it as out of scope. It really boils down to how much it would complicate the code and API usage

johanhelsing avatar Oct 22 '22 09:10 johanhelsing