- Home /
Question by
minhchauit · Nov 17, 2016 at 09:21 AM ·
collisionmobiletouch controlstouchphasetouch screen
I have to do if the touch slider to the left, right, and the character will move to the left, right under the sensors for a certain location.
I have a Rigidbody2D. I want to move the character to the left, to the right. when i touch slider from left to right, the Rigidbody2D move from left to right. touch when sliding from right to left, then Rigidbody2D also move from right to left
Comment