-
Hi, I am trying to make some camera rotation based on mouse movement. But the mouse motion event reader does not seem to do what I expect. main.rs:
cargo.toml:
output:
What did I do wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
Galedon
May 7, 2025
Replies: 1 comment 1 reply
-
This seems to be a bug. Your snippet works fine on my machine: MouseMotion { delta: Vec2(0.0, -1.0) }
MouseMotion { delta: Vec2(-1.0, -2.0) }
MouseMotion { delta: Vec2(0.0, -1.0) }
MouseMotion { delta: Vec2(0.0, -1.0) }
... You could open an issue with your specific platform/OS/.. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for the reply. It pointed me to do some tests and I found out that the problem was that I was using the remote desktop. I will open the issue.