Tutorial 2, RichAI component has no "Target" field

I started the tutorials tonight on the AStar Pro, and on this page about halfway down it says:

https://arongranberg.com/astar/docs/getstarted2.php

“Create another GameObject named “Target”. Assign that object to the Target field on the RichAI component. Also enable continous Path Recalculation on the RichAI, otherwise it will just wait for a move order, but there is no other script telling it to move.”

Well, not only is there no “Target” you can set, but no setting for Continuous Path Recalculation either. So I’m guessing the tutorial must be out of date. But I have no idea how I’m supposed to go on from here.

This is all I see on Rich AI component: http://i.imgur.com/m2SLxlo.png

I checked out the Legacy RichAI component and it’s the same. As well I checked through all the changelogs and found no mention of this being changed. So, I’m out of ideas.

I’m using the Pro beta 4.1.2 version if that matters. Any guidance offered would be appreciated.

After looking at some of the examples, I see there’s now a “AI Destination Setter” script that has the “Target” available. Hopefully this will help someone in the future in case the tutorial doesn’t get updated.

Hi

This was changed in the 4.1.0 beta. I hadn’t updated the tutorial yet.
I just released beta 4.1.3 however which has an updated tutorial.

Note that the beta documentation is separate from the documentation for the latest stable version. You can find the 4.1.3 documentation here: https://www.arongranberg.com/astar/documentation/dev_4_1_3_3be515d6/index.php

[edit] 4.1.x is no longer a beta. Take a look at the latest documentation here: https://arongranberg.com/astar/docs/

1 Like