Skip to content
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

Fix _forward_3d_gui_input not working with the preview camera #100875

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryevdokimov
Copy link
Contributor

@ryevdokimov ryevdokimov commented Dec 28, 2024

Fixes: #76873

Related: godotengine/godot-proposals#11424

I can't think of a reason why input forwarding should be disabled while the preview camera is enabled. Without it developing a plugin similar to what the linked proposal above suggests implementing wouldn't be very straight-forward.

Edit: This can be done with RenderingServer, but the prototyping process led to that discovery, so I believe this should still be enabled.

Below is a video using the functionality enabled by this PR to capture mouse movement events inside the editor viewport to control the character.

2024-12-28.12-43-40.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

_forward_3d_gui_input does not work when camera preview is enabled
2 participants