Search Unity

iOS Joystick move GameObject - 2D World

Discussion in 'Scripting' started by MetalSoul666, Oct 26, 2013.

  1. MetalSoul666

    MetalSoul666

    Joined:
    Sep 16, 2013
    Posts:
    19
    Hello,

    I just want make a single joystick to move GameObject around 2D scene ,,, line Space Ship

    I added the single joystick and fix warning but I don't know how I Can move the player with it

    in simple way how I can get x and y to use it with Translate?

    because there no doc or anything how to use it from 0 to move

    my idea is simple i want use joystick to move GameObject around 2D scene NOT 3D

    please, if any one can help me to achieve this

    and Thanks is advance
     
  2. MetalSoul666

    MetalSoul666

    Joined:
    Sep 16, 2013
    Posts:
    19
    I have added the joystick on my scene

    But i want know how to get x and y of joystick

    To use them، to move my player around

    Any ideas?