Touch Controls without virtual joystick
Hello Everyone,
I am new to developing game and have figured out various ways to make a virtual joystick through various youtube videos. Now i want to make a object(rigidbody) move horizontally within certain limits without using virtual joystick only drag touches. Eg. # = Object | | Scope of moving that object
Position A *|_#___________________________| Position B
Now i want to move the object horizontally through from position A to B using drag touch and not virtual joystick so can anyone give me the code for it and make me understand how it works ?
Thanks a lot !
Your answer
Follow this Question
Related Questions
How do I adjust code so gyro translates player to center position when device is being held in hands 1 Answer
Making an object move non stop after button input? 1 Answer
New Movement Script Not Registering Keyboard Input 0 Answers
Mobile touch 0 Answers
How to make objects spawned from 2 players go in different directions. 0 Answers