Step1: create a new unity project
Step2: On top -> Assets -> Import Package -> Character Controller, then you import
Step3: On your project -> Assets -> Standard Assets -> First Person Controller, drag it into the scene
Step4: Create a Plane as floor and light source
- On top -> Game Object -> 3D -> Plane
- On top -> Game Object -> Light -> Point Light
Step5: Control your FPS using WASD and mouse hover to look around
Advance
========
Step6: Download free FPS kit package(118 MB)
http://www.bigrookgames.com/files/freeFPSkit.unitypackage
Step7: import into your project
Step8: drag the Assets-> Player into your First Person Controller
Step9: In your scene, First Person Controller -> Player -> RootGo (disable the mainCameraRoot)
Step10: Drag the First Person Controller -> Player -> RootGo -> Weapon Camera Root and place it under your main camera, set the x to 0, y to -0.5, z to 0
Step11: change the First Person Controller -> Player (tag to untagged)
Step12: add rigid body to your First Person Controller , disable gravity in rigid body
Step13: under weapon camera, disable mouse look script
Step14: in Player , disable the mouse script, disable the rigid controller script
Step15: on top, edit -> project setting -> input
-> create new input fire
-> create new input aim
-> create new input switchweaponmode
No comments:
Post a Comment