Announcement

Collapse
No announcement yet.

Limit gamepad thumbstick movement only in 4 direction

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Limit gamepad thumbstick movement only in 4 direction

    Hi,I want to limit gamepad left thumbstick movement only in 4 direction, which is normally 8 direction. Purpose for this is that I dont want any mixed input, either x axis or y axis in a single time. How can I do this?

    #2
    I am not aware of any options that will actually allow you to do this, but you could do this using branches. As an example, when the Gamepad up is pushed on the joystick, you can make sure that neither left or right are being pushed, and if they are, execute the code for whatever joystick has the greatest axis value.
    Marketplace Assets

    Advanced Mobile Input: Marketplace Page | Support Thread ――― Easy Input Remapping: Marketplace Page | Support Thread
    Multiplayer Blueprint Chat System: Marketplace Page | Support Thread ――― Closing Credits System: Marketplace Page | Support Thread
    Minesweeper Template: Marketplace Page | Support Thread ――― Maze Creator: Marketplace Page | Support Thread

    Comment

    Working...
    X