-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
Added option to always update the mouse picking via saving the last m… #68
Added option to always update the mouse picking via saving the last m… #68
Conversation
Thanks! What is the impact of defaulting to always on? For example, if the window is not active, will it continue to check for intersections every frame? I think the answer is yes. I ask because based on @Sheepyhead's use case, they would need it to be enabled, and it might actually make sense if this is default behavior. However, my only worry is that it will always be running even when the application isn't being used. This isn't an issue now, because mouse events are not sent when the window is inactive. |
…' of https://github.com/Nickan/bevy_mod_picking into 67-MousePickingIntersectionDoesntUpdateUntilCameraMoves
Looks like the 199 | PickMethod::CameraCursor(WindowId::primary()),
| ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------- supplied 1 argument
| |
| expected 2 arguments
217 | PickMethod::CameraCursor(window_id),
| ^^^^^^^^^^^^^^^^^^^^^^^^ --------- supplied 1 argument
| |
| expected 2 arguments run |
Hi! We implemented the ff:
.with(PickSource { always_on: true, ..Default::default() })