In this one-hour, project-based course, you will learn how to create a camera controller for a First Person Shooter game that will work on any computer and virtual machine. This project covers setting up the FPS camera and player, writing C# scripts that will control the player's movement using the keyboard keys, and controlling the camera angle using the mouse.
In this one-hour, project-based course, you will learn how to create a camera controller for a First Person Shooter game that will work on any computer and virtual machine. This project covers setting up the FPS camera and player, writing C# scripts that will control the player's movement using the keyboard keys, and controlling the camera angle using the mouse.
Note: Ordinarily, an FPS camera would use Input.GetAxis() in Unity. This works on all platforms but often breaks when using the Unity editor in virtual machines. This guided project creates a solution which, though more complex, will work on a virtual machine.
This project makes use of the sci-fi-themed Unity scene created in Create Power-Ups and Obstacles with C# in Unity, which compliments this guided project. Although that project is not a prerequisite, it's recommended for a more well-rounded understanding of the concepts presented herein.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.