-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
Console spam when camera is gimbal locked with its LookAt target. #497
Comments
This is an expected behavior and is an internal Godot message. The addon uses the built-in
There is a recent discussion post about the same topic. |
Logspam in the editor is not great UX (esp. for automated tooling), and Godot docs do say that |
I agree that getting a spam warning log isn't a good developer experience under any circumstances. However, considering the messages are warnings and don't actually cause any functional issues, I am not too keen on adding additional calculations and checks just to silence them. To echo your sentiment, it isn't overly common to experience those warnings, yet the added calculations will impact everyone who uses the feature. Would probably be more inclined to suggest an upstream proposal to add another optional parameter to the |
Issue description
Behavior:
When the camera is gimbal locked, (e.g. directly above or below its LookAt target), the editor console is spammed with
When the camera is in the same spot as the LookAt target, the console is spammed with
Desired behavior:
No logspam when camera is gimbal locked, especially in the editor.
Also, it would be great to be able to control camera facing when it is looking straight down at a LookAt target. Right now, it's locked to viewport up = global -x.
Steps to reproduce
MRP: https://github.com/apolesskiy/phantom-camera/tree/lookat_gimbal_lock_edge_case in
dev_scenes/dev_gimbal_lock_edge_case.tscn
.(Optional) Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: