How to Program in Unity: Third Person Movement Explained
https://www.youtube.com/watc...Learn how to set up a third person camera and program our characters to move in the right direction!
This tutorial explains how we can use Unity's Free Look Camera and our own code so that our character movement is relative to the direction of the camera. By the end of the video we'll have a working third person character!
This is also the latest entry in a series of tutorials surrounding Unity's Built In Character Controller, however the script was written and video edited so that anyone can watch it and come away with the same results!
ACCESS PROJECT FILES & SUPPORT THE CHANNEL:
💛 https://www.patreon.com/iHeartGameDev
iHeartGameDev Merch:
💛 https://www.iheartgamedev.com
Like the vid? Please consider Subscribing!
💛 https://bit.ly/2YdIb6j
Links from Video?
Interested in learning more about the Vector math?
https://youtu.be/7kGCrq1cJew ✅
Interested in learning more about Cinemachine?
https://youtube.com/playlist?list=PLwyUzJb_FNeTkzlDLlbD5L0oX1ajWu8Pz ✅
SOCIAL:
✦ Discord
https://discord.gg/2AxUvsa
✦ Twitter
https://twitter.com/NickyBoccuzzi
Jammo is from Mix and Jam:
🤖 Download Jammo for YOUR game:
https://assetstore.unity.com/packages/3d/characters/jammo-character-mix-and-jam-158456
⭐ And Check Out MixAndJam!
https://youtube.com/MixAndJam
►TIMESTAMPS:
Introduction - 0:00
Getting Started with Cinemachine - 0:30
Third Person Cam Initial Set Up - 1:40
Let's get Progamming: 2:56
How the example character currently moves: 3:39
Basic example movement: 3:59
Current problem and solution visual: 4:10
Programming ConvertToCameraSpace solution: 4:31
How to Rotate a Vector: 5:35
Programming ConvertToCameraSpace solution part II: 6:07
Fixing missing Y Movement: 6:46
Fixing character rotation: 7:22
All the important changes for a better feeling camera: 8:28
FOV: 8:40
Rig settings: 9:00
Moving focus point: 9:28
Slowing down sensitivity: 10:07
End result: 10:30
Coming soon: 10:45