Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Composite Bindings : Button , NothingElsePressed

Discussion in 'Input System' started by MalteDe, Oct 20, 2020.

  1. MalteDe

    MalteDe

    Joined:
    Sep 23, 2017
    Posts:
    3
    Hello Everyone :)

    I am creating a blender-like Camera Controller Script and want to use the new Input System for the Input Management. I dont use the playerInput script.

    My Problem is following:

    My Pan and Zoom Navigations use Composites with One Modifier as Hotkeys and my Orbit uses a Binding:
    Pan : Shift + Middle Mouse
    Zoom: Strg + Middle Mouse
    Orbit : Middle Mouse

    When I Execute:
    1. Press Strg
    2. Press Middle Mouse

    => Orbit
    1. Press Middle Mouse
    2. Press Strg

    => Zoom

    So The Middle Mouse seems to Override the Strg so that it has to be pressed again. But i want a Behaviour where Orbit is only occuring if no other Button is pressed.

    https://i.postimg.cc/7LGJ69ns/Composite-Bindings-Binding.png

    https://i.postimg.cc/DwfzW6nQ/Composite-Bindings.png



    Thanks to the awesome Unity Team for developing this feature and Unity in general!
    Lots of Love and Hugs :)
     
  2. azevedco

    azevedco

    Joined:
    Mar 2, 2014
    Posts:
    34
    MalteDe likes this.
  3. MalteDe

    MalteDe

    Joined:
    Sep 23, 2017
    Posts:
    3
    Thank you for sharing that topic :) that is a big relief not thinking i am the only one wanting this feature :D!
     
    Nith666 and azevedco like this.