We'll combine the Camera and the Movement script to get a simple Third Person Controller. You can use this structure as a base for prototyping your ideas.
Next, I am planning to add a 3D character with movement animations.
Contents:
00:00 - Intro
00:21 - Scene Setup
01:18 - Third Person Camera Setup
02:53 - Player Movement Setup
05:38 - Rotate player to the direction of the movement
07:40 - Apply smooth rotation
09:34 - Rotate player to the direction of the camera
12:36 - Add Jump functionality
16:03 - Final Result
Resources:
PlayerController Script: https://gist.github.com/MrSimsek/33ef...
CameraController Script: https://gist.github.com/MrSimsek/8bd5...
Unity CharacterController.Move Documentation: https://docs.unity3d.com/ScriptRefere...
En esta página del sitio puede ver el video en línea Unity Third Person Tutorial - Third Person Controller with Camera in Unity3D de Duración hora minuto segunda en buena calidad , que subió el usuario Deniz Simsek 07 noviembre 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 26,209 veces y le gustó 516 a los espectadores. Disfruta viendo!