Posted April 20, 2024 by ZENKOSTUDIOS
##Character Controller ##Gameplay Programming
We have been prototyping the character controller and the camera system. It`s a 3rd person character with 4 switchable camera modes; Third Person, Over The Shoulder (with the option to switch between both, left and right shoulder) and First Person (only for certain actions like inspecting objects).
Initially, when done in Unreal, we used Unreal`s Character Controller class and Spring Arm for the player control and camera. The camera switching was achieved by switching parameters of the Spring Arm Component and Lerping between the values for a smoother effect.
Now in Unity, it`ll be done similarly using the Cinemachine. Character`s movement will be tried to be done using root motion animations.
Written By - Sami