Hi, I am newbie. I am getting error in this line “navi.computePath(targetLocation);” what is “targetLocation”?. Can anybody tell me exactly what parameter i have to pass here?
Many thanks for the help
Hi, I am newbie. I am getting error in this line “navi.computePath(targetLocation);” what is “targetLocation”?. Can anybody tell me exactly what parameter i have to pass here?
Many thanks for the help
Thanks for the reply. I think i asked question in wrong way. This thing i know its location vector. Actually I wanted to ask what initial value it will contain. I have to define manually or it will take automatically. This question looks very silly sorry for that.
@ConsIne said: Thanks for the reply. I think i asked question in wrong way. This thing i know its location vector. Actually I wanted to ask what initial value it will contain. I have to define manually or it will take automatically. This question looks very silly sorry for that.
You can ask the navigation system which path to take to a certain location, the navigation system cannot know where you want to go, you will have to specify that.
Thank you normen.