Forum: PogamutUT2004

Move to specific Node?

Hi,

I'm still working on my bot, however I am wondering if it is possible to tell the bot to move to a specific node by supplying the nodes id. If not I can simply store the navPoints in an array and search through them for the one i need, however I was not sure if there is a method which currently does this.

Thanks
If you have a node Id, use method getWorldView().get(YOUR_NODE_ID) to get a NavPoint object. If you have this object you can easily obtain its location and move to this location.

best,
michal