- Home /
Movement like in Color Road
Basically that movement that a lot of popular games use where you just touch slide the object to the left and right. I want to be able to touch anywhere on the screen and slide it. Also for it not to just teleport right or left when you touch.
Answer by digiman72 · Oct 06, 2018 at 09:07 PM
hope it helps
It works but it moves the object in all directions. I just need to move it left and right and I do not know how to do that..
Answer by Saiguru · Oct 08, 2018 at 01:31 PM
I think this video might help you @sanja15513 https://youtu.be/VmGmMRhR-Ts
In the video he shows how to touch the screen and have the object move towards that side. What I need is to move the object with touch, basically slide the object with touch..
Hi @sanja15513 , I think similar question is there already in this forum and I hope that's the one you are looking for..
https://answers.unity.com/questions/1223838/drag-gameobject-with-finger-touch-in-smartphone.html
Your answer

Follow this Question
Related Questions
Touch movement on drag only with speed 1 Answer
How to apply offset to touch position when dragging object 4 Answers
Manipulating Variables With Multi-Touch 1 Answer
Camera not moving 'smoothly' on drag. 2 Answers
unity2D touch drag 0 Answers