Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Mobile app help!

Discussion in 'Getting Started' started by KBurkus, Feb 10, 2015.

  1. KBurkus

    KBurkus

    Joined:
    Feb 1, 2015
    Posts:
    12
    I have made a game for windows, and I want to make it into an app.
    I can't seem to figure out how to make it be able to move on mobile, like a joystick.
    Any help would be great.
     
  2. Gekigengar

    Gekigengar

    Joined:
    Jan 20, 2013
    Posts:
    748
    Get Initial touch position, get touch delta, then normalize, register as virtual input.x/y

    I use the virtual input manager from the Unity 4.6 sample scene.

    There are touchpad scripts there, its closely similar.
     
    elmar1028 likes this.