Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Feature Request Add "Mouse X & Y" like in the old Input Manager to the new one

Discussion in 'Input System' started by zDominik111, Jul 9, 2023.

  1. zDominik111

    zDominik111

    Joined:
    Jun 30, 2023
    Posts:
    5
    Hello,
    I am trying to make a first person camera movement in 3D. Now, mainly I want to use the new Input System, including for the camera movement. I don't seem to find the right Vector 2 input for mouse. ("Mouse Position" isn't right for me) There was that "Mouse X" and "Mouse Y" in the Input.GetAxis. That would be great if that was in the new Input System as an avaliable Vector2 choice. (Sorry for the bad explanation!) If you need any further info please reply!
    Thank you!
     
  2. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    8,407
    It's already there, it's just called Mouse Delta/Pointer Delta, which is a more accurate term for what it provides.
     
    zDominik111 likes this.
  3. zDominik111

    zDominik111

    Joined:
    Jun 30, 2023
    Posts:
    5
    Oof, well... Sorry, heh and thank you! :D