How can i change the direction of my player without add a force
How can i change the direction of my player without add a force . I want to change the direction with one touch on the phone’s screen. The direction should only change between the forward direction and the right direction. I will be grateful for helping me.... @Bunny83 @Eric5h5 @robertbu @aldonaletto @tanoshimi @whydoidoit @duck @fafase @clunk47 ,
Answer by tormentoarmagedoom · Sep 17, 2018 at 11:19 AM
Good day.
There are so many ways to move objects. Ading force is only one of them. You can change ist rigidbody.velocity or change directy its position with transform.translate, or changing transform.position.
Go read about them to see whats best for your project.
Bye!
Your answer
Follow this Question
Related Questions
Disabling aiming towards Joystick on first input. 0 Answers
move character by touch only x axis 0 Answers
Tapping in the same place of touchscreen doesn't call OnPointerDown method 0 Answers
how to make touch to press a key 0 Answers
On touch in a rectangle 0 Answers