A* Pathfinding Project

Get random point(x,y,z)


Hi, what can I get position of random point?


I’ve done with

			RandomPath t = RandomPath.Construct (transform.position, 500000);
			t.spread = 5000;
			Seeker seeker = transform.parent.GetComponent<Seeker> ();
			seeker.StartPath (t);

but it don’t move in height!



Maybe you want to have a look at this tutorial: https://arongranberg.com/astar/docs/wander.html


Thanks you very much :slight_smile: