Dear Pros, I have a simple question on how to change my character’s direction based on user input.
Although CharacterController.Move describes the sample code, however, I still do not know how to change my character’s direction. My expectation is: If user pressed left arrow key, my character will turn left then start moving towards left, if user pressed right arrow key, my character will turn right then start moving towards right.
The below sample CharacterController.Move code only describes how to move towards a direction but my character is always facing one direction. Help! Thanks a lot!