Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Thanks! It's just a simple line of code using transform.Translate it uses the player position and subtracting it's current position and multiplying by a speed variable

(1 edit)

why did I put pathfinding in my code

Edit : there are colliders