Tutorial - Creating an Enemy from the Player character object (Patreon)
Published:
2022-06-24 13:22:40
Imported:
2026-06
haven't archived this post yet. have a subscription? use the importer!
Downloads
Missing 1 full-res photo, 3 files, as this post has not yet been imported.
Content
Hey!
In this video I will show you how to reuse your player character to create a simple enemy out of it.
We will extract the Player Input code to a separate script to make the Player Character setup more reusable an in Part 2 we will create a very basic EnemyAI script. Enemies will Chase and Attack the player when we get in range.
Project files exclusive for my patrons are attached to this post :)
I hope that you will find it useful.
-Peter
Files
Previews only