How to move character forward and also face moving direction?
问题 I am a newbie to Unity, any help will be much appreciated. I want to make a game where character (shown in below image) moves forward continuously. Character has to move upwards when user touches mobile screen (long touch will make character move upwards continuously), otherwise character falls down slowly due to gravity. Main theme is to avoid touching obstacles and character motion should be curvy. This is a 3D game, but character moves in x,y axis. Till now, I have written below code to