Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

how to make enemy

A topic by medopizza9 created Oct 19, 2021 Views: 82
Viewing posts 1 to 1
Submitted

hi. I'm trying to make a monster chase the player, does anyone knows a good script a can use? I will need your permission to use it because I can't "steal" others code.  I'm sorry if I wasn't meant to post this here, its my first jam.  also navmesh agents do not work two errors (

Failed to create agent because there is no valid NavMesh

UnityEngine.StackTraceUtility:ExtractStackTrace () and 

"SetDestination" can only be called on an active agent that has been placed on a NavMesh.

UnityEngine.AI.NavMeshAgent:SetDestination (UnityEngine.Vector3)) keep poping up . sorry fo the inconvenience.