Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

Hey!

Thanks again for being my patreons!


I am trying a new "short video" format in addition to the longer tutorials.


So far we have

Using NavMesh for player movement using Arrow keys input -> https://youtu.be/ULvi-DEancA

How to create a mobile joystick input -> https://youtu.be/UCJXgwSnXuU

How to drag UI elements -> https://youtu.be/sXTAzcxNqv0


I hope that you will enjoy this new format of videos :)


Take care!

Peter

Files

Previews only

Movement using NavMesh and Arrow Keys in Unity 2021

Unity navigation is a powerful tool that allows us to create NPC / Enemies that can move naturally on our 3d maps. In this video we will explore how to create player movement using Unity NavMesh and arrow keys / WSAD input in Unity 2021. Assets used: https://kaylousberg.itch.io/kaykit-dungeon Learn to make a 2D platformer game and at the same time improve your knowledge about writing C# code: https://courses.sunnyvalleystudio.com/p/code-a-2d-platformer-game-in-unity-using-design-patterns Join the discord: https://discord.gg/RQEtYHz You can support me through Patreon: https://www.patreon.com/sunnyvalleystudio #navmesh #unity #movement #coding 00:00 Introduction 00:15 Assets used 00:25 NavMesh system 02:00 Navigation static flag 03:00 Baking NavMesh 03:35 Adjusting NavMesh 06:13 Nav Mesh Agent 07:24 Custom Script 10:25 Agent Destination 12:15 Cinemachine follow camera 13:15 Testing 13:50 Nav Mesh obstacle 15:14 Thanks Patreons!

Comments

Anonymous

Very well explained, thank you.