- Home /
Question by
Ihatecoding · Apr 04, 2014 at 06:35 PM ·
buttoncharactercontrollerupdown
How do i make a character move up and down with touch button
I am trying to make a 2d flying character where you have to press up and down button to move the character. This is for ios and android.
Comment
$$anonymous$$ovement can mean many things in Unity, as can buttons. No one can give you a definitive answer without you knowing more about Unity and the nature of your game. I suggest you research the following:
GUI
GUI.Button()
Transform
Transform.Translate()
Rigidbody
Rigidbody.AddForce()
Your answer
Follow this Question
Related Questions
OnMouseDown() Doesn't work 17 Answers
Help with resize script 1 Answer
gui.button down 2 Answers
Realistic walking. 1 Answer
Cannot jump while running downhill,Character can't jump while moving down 0 Answers