Search Unity

Question How to change press point of an "Axis" control?

Discussion in 'Input System' started by PineFilip, Dec 6, 2023.

  1. PineFilip

    PineFilip

    Joined:
    Jul 7, 2022
    Posts:
    3
    We are creating a VR game and want to adjust how much trigger needs to be pressed so that "triggerAction.IsPressed()" evaluates to true. This seems to default to 0.5 and we found no way to change it. This is really important for us as some controllers are very sensitive and we want to set higher threshold so action is not pressed unintentionally.

    We already tried adding "Press" interaction to the action, changing "Action Type" to "Button" and changing global "InputSettings.defaultButtonPressPoint", but those did not work.

    So, how can we change the press point for axis control? If it helps, this is what the action looks like:

    upload_2023-12-6_10-8-38.png