Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Locked Cursor FPS interaction with world space canvases, just like in DOOM 3

Discussion in 'Input System' started by Gooren, Jan 7, 2021.

  1. Gooren

    Gooren

    Joined:
    Nov 20, 2015
    Posts:
    333
    I'm trying to achieve this with the new Input System.

    I was able to make this work with cursor unlocked, but as soon as I lock and hide it, all interactions with the world space canvases stop (understandable for a default behavior).

    What I need is to tell the input system that even though the cursor is locked in the middle of the screen and hidden, I still want to use it, just like a regular cursor.

    Is that possible? Or do I have to build a custom solution using a virtual cursor?

    Cheers,
    Stepan