How can I make my camera move with the WASD keys?

I’m sorry but I’m extremely noobish with unity and programming so please help D:

1 Like

have a look at the input reference pages ie: Unity - Scripting API: Input.GetAxis

or have a look a youtube were there is a lot of beginners tutorials covering this. Like this one, which a least get you started:

What you need to do is to make a script similiar to the once mentioned in the video, to control a object. Once you done that, you simply dragdrop the camera in the hiearachy onto the object controlled by the script. So the camera become a “child” of that object, which means that it is connected to it and will follow it movements.

same

Steps to success:

  1. don’t make one-word replies to 8-year-old threads

  2. start with Unity tutorials, or just look on Youtube for videos (Brackeys are great)

  3. if you have a problem, MAKE YOUR OWN NEW POST.

Here is how to report your problem productively in the Unity3D forums:

http://plbm.com/?p=220

And I watched around 1,000 of them… none of them worked and I did make my own post and no one responded

because for some reason it wont let me use the horizontal or vertical code

Again, this statement is completely useless.

If you actually took the time to look at the error and google it, you’d almost certainly see the answer as the first result.

If that doesn’t work, again, READ the link above about how to post relevant code.

It’s not hard, really. People post in here all the time successfully.

And please, MAKE YOUR OWN FRESH POST. It’s FREE!

I did all of those, nope

Create a new thread, and put some effort in explaining the problem.

Post the code you have tried, what errors you were experiencing, what behaviour you were expecting etc.

“same” or “nope” are useless and it is not possible for anyone to help you with a post like that.

1 Like