Making a 3D Platformer in Unity - Player Follow Tutorial

Опубликовано: 16 Январь 2023
на канале: Kozmobot Games
27,202
462

In this video, you will learn how to make an enemy object that will follow your player. The first thing you need to do is to make a cube that will resemble an enemy. I have set this cube to be red colored, just by making a material and choosing the base color to red. You can also download the script files.
DOWNLOAD THE SCRIPT: http://github.com/kozmobotgames/Chara...

WARNING: Nav Mesh window used in this tutorial is now obsolete. If you use Unity 2022, here is the UPDATED TUTORIAL:    • Nav Mesh in UNITY 2022 - TUTORIAL  

Nav Mesh in Unity is a required component for fighting games, action and RPG games, especially because it offers an accurate movement direction for players. It's a very simple Unity tutorial that can tell you which things you should do and which things you shouldn't do.

I can help you make a nav mesh agent in Unity, that will follow your player by using a component called AI. To ensure that you can use the plane as an AI object, you have to go Window / AI / Navigation and perform a Bake function that will "bake" the plane in order to become a place where enemies cannot leave. Baking is useful for navigation meshes and enemy management, because player can dodge them in order to escape. Certain enemies can travel inside only one area, making their navigation limited.

If you find this video helpful, consider subscribing. I will make videos every week. This is the fifth video in the 3D platformer tutorial series. Lastly, I will make more game development tutorials and other content related to game industry.

Support the Creator of Kozmobot on the social networks!

CHECK OUT MY WEBSITE: http://kozmobot.com

INSTAGRAM:   / kozmobot.channel  

TIKTOK:   / kozmobot.channel  

Music in the video:

Music by DayFox from Pixabay
Weeknds by Dayfox
Escapism by Yung Logos


Смотрите видео Making a 3D Platformer in Unity - Player Follow Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Kozmobot Games 16 Январь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 27,20 раз и оно понравилось 46 людям.