Skip to content

Weird MouseMotion delta-y output #12198

@woongzeyi

Description

@woongzeyi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-InputPlayer input via keyboard, mouse, gamepad, and moreA-WindowingPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorO-LinuxSpecific to the Linux desktop operating systemP-RegressionFunctionality that used to work but no longer does. Add a test for this!

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions