Search Unity

Delta position and velocity type inputs

Discussion in 'Input System' started by Darress, Jun 14, 2016.

  1. Darress

    Darress

    Joined:
    Mar 5, 2015
    Posts:
    12
    I had a problem, where I wanted to use both touch drag and joystick input for an action.

    The problem is, touch is plain delta position, you just add the value of the action to the position, finished. But with a velocity type input (eg. joystick), you have to multiply it with the delta time.

    How could this be handled uniformly?