-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clamp rotation for up/down orbiting shortcuts. #54788
Conversation
This is a good change, but the PR should be submitted to the We can then look into improving the rotation behavior in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, but please update the commit message to remove the @Calinou mention. GitHub tends to notify mentioned users whenever a fork pushes upstream commits to its master
branch, so I could end up getting a ton of notifications for no good reason 🙂
This prevents the viewport from going upside-down. This was suggested at: godotengine#51984 (comment): > For 3.4, I think we can just clamp the angle value when using the > camera orbiting shortcuts. We can investigate what to do with panning > and freelook in 3.5 and 4.0.
Thanks! |
Cherry-picked for 3.5. |
Cherry-picked for 3.4.1. |
This prevents the viewport from going upside-down.
This was suggested at
#51984 (comment):