Make the player crouch while holding down left shift. There will be two parts to crouching, this video, and FPS1.22 where we will be fixing the glitch where your head goes through the ceiling when you stand up under something.
Reference code and link to download my version of this game (unity forums, FPS1.23):
http://forum.unity3d.com/threads/1217....
Got a questions, problems, glitches? Get help here:
http://forum.unity3d.com/threads/1262...
Unity Engine used in accordance to the Unity3D End User License Agreement, found here:
http://unity3d.com/unity/unity-end-us...
On this page of the site you can watch the video online FPS1.21 Basic Crouching. Unity3D FPS Game Design Tutorial. with a duration of hours minute second in good quality, which was uploaded by the user Master Indie 20 January 2012, share the link with friends and acquaintances, this video has already been watched 9,449 times on youtube and it was liked by 75 viewers. Enjoy your viewing!