PathFind between gameObjects
Hello ive got gameobjects that are my tiles and need to find path from point a to b i got in each gameobject references to its neighbors.
public GameObject Left, Right, Up, Down = null;
and i've got list of all tiles
TileSet = GameObject.FindGameObjectsWithTag(TagManager.TileGameTag).ToList();
Maybe someone can give me advice or good X.Z pathfind cuz Y is always 0:)
Pathfinding isn't as simple as you think.
It's very advanced scripting.
Look up A* pathfinding.
Ye i know that :D i don't have idea how to start do you have good video about it?:)
No not really, look through the unity tutorials.
Your answer

Follow this Question
Related Questions
Detecting a continuous set of objects in a tile based game (ie pipes, walkways, walls) 0 Answers
Make an object move from Point A to Point B then back to Point A repeating 9 Answers
What is the easiest way to enable 2D isometric grid-based pathfinding? 2 Answers
2d NPC pathing 0 Answers
How to exclude certain navmesh obstacles on runtime? 2 Answers