Set “Main Camera” position values to: X = 0, Y = 1.75, Z = 0.“Main Camera” is child object of “FPS Character” Drag “Main Camera” game object over “FPS Character” (“FPS Character” should be its parent object).Select “Main Camera” game object in Hierarchy window.To achieve so let’s put the camera where our characters eyes would be. Obviously, when playing an FPS game player should see the game from first person. Also, set “Height” property of that Capsule collider to be 2.Set Capsule collider “Center” properties to be the following: X = 0, Y = 1, Z = 0.
Visual Studio or VS Code or any other text editor that works with Unity (Visual Studio will automatically be installed with Unity if you keep the default settings).
To get basic understanding of Unity check out their official Roll-a-ball tutorial (it’s very quick and easy to follow)Īlso, you’ll need the following software installed on your computer to be able to follow along:.To learn basics of C# check out this video by Code Monkey.In this course you’ll master the foundations of game development by exploring Unity engine & the C# programming language. Check out “ Intro to Game Development with Unity” course on Zenva Academy ( ).If you’re total beginner and want to learn basics of Unity and programming here are some helpful resources for you as well: Basic level of understanding of Unity (knowing what are scenes, game objects, components, inspector etc.).
Prerequisitesįirst of all, here’s everything you need to know to go through this tutorial successfully: The decision is yours, and whether or not you decide to buy something is completely up to you. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. Although, I do expect you to have at least some basic knowledge of how the Unity works and basic understanding of programming.Īll scripts I made for this tutorial will be available in the Outro section.ĭisclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. This tutorial is beginner friendly and I’ll go over everything step-by-step. Every section of this tutorial will include all the code you need for each functionality to work properly. In this tutorial I’ll show you how to make a simple FPS character movement with Unity 3D.