eventhorizon5 / skyscraper

The Skyscraper Project (Skyscrapersim) - an open source building, city, and elevator simulator
https://www.skyscrapersim.net
GNU General Public License v2.0
28 stars 7 forks source link

Feature Request: Preventing simulator camera from going upside-down by limiting pitch #10

Closed ghost closed 1 year ago

ghost commented 1 year ago

Proof of concept for preventing the simulator camera from going upside-down. Only lets you look directly up and down in case you move your mouse too far up or something. Could be improved by tying it to an option if people want to play upside-down.

eventhorizon5 commented 1 year ago

I tried your patch and it's working great, I didn't think before about trying to prevent the camera from flipping over. You can also press the F3 key to reset the camera rotation. Check out the forum if you haven't yet - https://skyscrapersimulatorforum.createaforum.com

eventhorizon5 commented 1 year ago

I merged your changes, thanks for your work.