-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Weird MouseMotion delta-y output #12198
Copy link
Copy link
Closed
Labels
A-InputPlayer input via keyboard, mouse, gamepad, and morePlayer input via keyboard, mouse, gamepad, and moreA-WindowingPlatform-agnostic interface layer to run your app inPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorO-LinuxSpecific to the Linux desktop operating systemSpecific to the Linux desktop operating systemP-RegressionFunctionality that used to work but no longer does. Add a test for this!Functionality that used to work but no longer does. Add a test for this!
Milestone
Description
Bevy version
0.13
What you did
I was trying to read mouse delta values from EventReader<MouseMotion> to implement camera movements.
What went wrong
Delta-y values were stuttery, resulting in rough vertical mouse movement.
Whilst delta-x values are normal, moving mouse horizontally is buttery smooth.
Additional information
Through some trial and error, I found out that this issue only appears when there is presence of any entity with Camera3dBundle component.
If entities with such component are removed, this issue will not show up.
This issue is not present in Bevy version 0.12.1.
I have also recorded a video demonstrating this issue.
Screencast.from.2024-02-29.16-55-22.webm
Here's the code used to test this issue: https://github.com/woongzeyi/bevy_testground/tree/mouse_movement
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-InputPlayer input via keyboard, mouse, gamepad, and morePlayer input via keyboard, mouse, gamepad, and moreA-WindowingPlatform-agnostic interface layer to run your app inPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorO-LinuxSpecific to the Linux desktop operating systemSpecific to the Linux desktop operating systemP-RegressionFunctionality that used to work but no longer does. Add a test for this!Functionality that used to work but no longer does. Add a test for this!