please help me
Assist/Standard Assist/Character Controllers and drag "First Person Controller" to scene.
Answer by raycosantana
Feb 03, 2013 at 03:22 PM
For a FPS you dont need to code anything, Unity already has some good scripts for this. You need to import them into your project Assets/import package/Character controllers.
To use them first we need to add a character controller script to our camera, Like this:
You can now move the camera with the WASD keys and Jump with the Space bar. But you cant look with the mouse, for that we need to add another script to our camera like this:
Now you can move and look with the mouse, however you need to create a terrain otherwise your character will fall forever when you hit play. I cant upload more images since the maximun allowed is two but this pretty simple go to Terrain and click on Create Terrain.
Hello, I use Unity3 5.3.x, it seems there's no such "FPS Input Controller" and "Mouse Look".
It's in the (free) "Standard Assets" package, you'll need to "import" that from the store, then, make sure that the scripts you want are ticked in the list
Answer by CubePhysics
Feb 03, 2013 at 02:22 PM
There is a Package for this that comes with Unity just go to Assets/import package/character controller and their is a first and third person controller in their and you can edit it.
Answer by connorwforman
Feb 07 at 06:51 PM
Asset Package: Assets/import package/character OR Attach the camera to a rolling ball, and the player won't see the ball, so it works!
When making the area, make sure you add a roof, and make it big. Add lighting while in the game-making part, so you can see well, and delete it when done. If the game is supposed to be well lit, then leave it that way.
That is just for movement, sorry for no mouse-look function.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
18 People are following this question.
speed = transform.rotation * speed; explanation please?
How do you disallow an angle from going to a certain range while rotating?
Model TextureBlurring Effect (Optimization)
Cannot Convert boolean to UnityEngine.GameObject
How to rotate camera view?