(Part II.) How to write a simple 3D character controller in Unity
<p>This is a second part of my gamedev series. For setting up walking (and other animations) see the <a href="https://medium.com/@janjilecek/basics-of-3d-animation-in-unity-tutorial-d2d6ff3bc6b7" rel="noopener">first part</a>.</p>
<p>This is going to be a 3rd person controller, so I will position the camera over the shoulder and assign it as a child object to the Player.</p>
<p><img alt="" src="https://miro.medium.com/v2/resize:fit:700/1*WMBw90Vqh06uFXKOt9PRxQ.png" style="height:351px; width:700px" /></p>
<p>I create a folder for Scripts in the Assets. Then I create the PlayerController script.</p>
<p><img alt="" src="https://miro.medium.com/v2/resize:fit:700/1*xT666YkM_92m3xiqAHwzVw.png" style="height:457px; width:700px" /></p>
<p>This will move the character by using the built-in functions.</p>
<p>Now I need to add the Character controller to the Player object and edit the collider capsule to fit it.</p>
<p><a href="https://itnext.io/how-to-write-a-simple-3d-character-controller-in-unity-1a07b954a4ca"><strong>Read More</strong></a></p>