Hello all, i am trying to make some waly that my character rotates with the “a” and “d” keys or left and right arrow keys and move forward with up arrow key or “w” key, ind i am having a bit of trouble with this because i do not know how to make a key have input on the rotation or if there is and easier way, anyway thank you for the help in advance!
Hello, there is a good example here:
Keep in mind that the Input.GetAxis("Vertical"));
is forward in 3D. Also, Input.GetAxis("Vertical"))
and Input.GetAxis("Horizontal"))
are refereces to the bound keys for your project (Edit > Project Settings > Input).
hope this helps