A* Pathfinding Project

Get random point(x,y,z)


#1

Hi, what can I get position of random point?


#2

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!


#3

Hi

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


#4

Thanks you very much :slight_smile: