Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Uhmm have you tried to use the function "RepeatEveryXSeconds"? It helps me a lot with the performance of PathFinding objects. Use it to move the enemies towards the character, but instead of all the time, every 0.2 seconds more or less. The player won't really notice the difference.

(+1)

i haven’t used pathfinding for enemies. i just set a force to move towards a player, because with pathfinding they bug out and start to move into each other, when they are close to the pathfinding end point. even with all the collision functions. But it is a cool idea and i would like to try it out : -)