D
D
DushaOne2014-06-21 16:02:01
JavaScript
DushaOne, 2014-06-21 16:02:01

How to rotate a character with a swipe?

Hi all! We need a script for Unity3d so that when swiping to the right, the CharacterController turns to the right;
swipe left - turned left;
swipe up - jump;
swipe down - sit down.
If it's not difficult, explain what you need to write in brackets Input.GetTouch ()

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question