- Home /
how do i make something be controlled by the player?
i'm new to this and i really don't know how to make something move so i need help!!!
Answer by azzogat · Dec 27, 2010 at 08:59 PM
First-off, make sure you've at least tried the provided tutorials.
I recommend starting with:
http://unity3d.com/support/documentation/Manual/Unity%20Basics.html
Then jumping to a more advanced tutorial like the 3D platform Game one:
http://unity3d.com/support/resources/tutorials/3d-platform-game
Alternatively you could search for the TornadoTwins channel on youtube although some stuff is a bit outdated in their tutorials. If you've exhausted all of these and you're still unsure about what to do next, ask google nicely, like:
Answer by Jesus_Freak · Dec 27, 2010 at 08:58 PM
you could use input. and say
if(Input.GetKeyDown("KeyNameAccordingToReference"))
{}
reference can help you.
another input it doesn't tell you is
Input.mousePosition
which is where on the camera the mouse is (in a Vector3)
i recommend the tornado twins tutorials.
Your answer
Follow this Question
Related Questions
How to move an object along the X and Z axis with arrow keys/wasd with javascript? 1 Answer
How to restrict first person from turning 360 degrees when sitting? 1 Answer
Moving character relative to camera position. 1 Answer
I am new here were should i start 5 Answers
Where do i have to start to make a game? 5 Answers