bevy_pancam
bevy_pancam copied to clipboard
Rotated orthographic projections are not supported
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