Swipe Gesture Component Actions

Discussion in 'How Can I...?' started by DipDip, Dec 8, 2017.

  1. DipDip

    DipDip Boxer

    Joined:
    Oct 18, 2017
    Messages:
    30
    Likes Received:
    2
    I was wondering how swipe gestures work. I tried to set up swipe up and swipe down gestures to move a character up or down, however I wanted to do this with Isometric view and it did not work.

    I set swipe up gestures to move the iso character up at an angle and made swipe down gesture to be a negative value. It did not work. Is this due to the there being no component action with swipe controls? or does it not work for ISO games? or maybe I did it wrong?
     
  2. Skrubzy

    Skrubzy Avid Boxer

    Joined:
    Nov 3, 2017
    Messages:
    177
    Likes Received:
    44
    You have to add an advanced move component to the object/character you're trying to interact with. The "Event" should be set to the swipe controller, and you'll need 2 components it you want to be able to swipe up AND down.

    Also, from my experience, the swipe controller only activates once the player releases their finger/mouse, which is really annoying (Please tell me if you found a way to fix this).
     

Share This Page