How to Create a Top Down Movement Character Controller in Unity | Scripting Tutorial

Publicado em: 17 Abril 2020
no canal de: Broken Knights Games
75,818
1.5k

In this video I demonstrate how to create a top-down character controller movement script in Unity which take into account the rotation offset of the main camera. This video also demonstrates how to make a game object rotate towards the mouse cursor on the screen, as is commonly seen in top down shooters. Learn some basic vector and rotation operations along with a simple and practical physics raycast example in Unity.

Technology Used
Unity 3D Engine 2019.3
Git
Visual Studio 2019
.Net Scripting in C#

Everything shown in the video can be downloaded from my Github repository so you can follow along, or reference my approach to creating a top down character controller component.
Github Repository Link: https://github.com/Srfigie/Unity-3d-T...
New Input System Tutorial:    • Local Co-op in Unity using the New In...  

Time Codes:
00:54 Sample Scene Overview
02:05 Input Handler Script Overview
03:02 Character Movement
06:00 Move Relative to camera rotation
10:38 Rotate Towards Movement Vector
15:03 Follow Mouse Rotation


Broken Knights Games:
Website: https://brokenknights.com
Twitter:   / broken_knights  
Instagram:   / brokenknightsgames  







► Music Credit: LAKEY INSPIRED
Track Name: "Better Days"
Music By: LAKEY INSPIRED @   / lakeyinspired  
Original upload HERE - https://www.youtube.com/watch?v=RXLzv...
Official "LAKEY INSPIRED" YouTube Channel HERE - https://www.youtube.com/channel/UCOmy...
License for commercial use: Creative Commons Attribution 3.0 Unported "Share Alike" (CC BY-SA 3.0) License.
Full License HERE - https://creativecommons.org/licenses/...
Music promoted by NCM https://goo.gl/fh3rEJ


Nesta página do site você pode assistir ao vídeo on-line How to Create a Top Down Movement Character Controller in Unity | Scripting Tutorial duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Broken Knights Games 17 Abril 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 75,818 vezes e gostou 1.5 mil espectadores. Boa visualização!