Search Unity

Delta/<X/Y> [Mouse] behaves differently to Delta [Mouse]

Discussion in 'Input System' started by ARGB32, Jun 12, 2020.

  1. ARGB32

    ARGB32

    Joined:
    Feb 20, 2013
    Posts:
    15
    I found that if I'm sampling the Delta X or Delta Y of the Mouse binding seems to be heavily filtered whereby unless I input a large amount of motion (move the mouse fast) the values are locked to 0.0.

    However, Delta Mouse as a Vector2 binding doesn't have this issue at all.

    Converting from the older input system to the newer input will be quite difficult unless code is refactored to sample and extract the axis explicitly in code.

    Note - this is when using Cursor.lockedState = CursorLockMode.Locked - not sure if its the same otherwise