Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

How?

Discussion in '2D' started by astarabistan, Dec 31, 2013.

  1. astarabistan

    astarabistan

    Joined:
    Jul 6, 2013
    Posts:
    6
    Hi guys.I am devoloping a game for ios and android in 2D platform and i want to make character's gun target whereever i touch at the screen and shoot at the same time.I want to make the gun follow my finger in the same direction by holding my finger on the screen.How can i program that?
     
  2. Tiggster

    Tiggster

    Joined:
    May 22, 2013
    Posts:
    29
  3. Thomas-Pasieka

    Thomas-Pasieka

    Moderator

    Joined:
    Sep 19, 2005
    Posts:
    2,171
    You should actually start with proper thread title like "How do I do ......" instead of just "How?". Keep that in mind in the future.