make a self-driving car, combine Navimesh and waypoint?
Hi! I'm making a self-driving car game in 3D, I have made the city in scene, the car I use the default vehicle asset package from Unity5. My goal is when I pick a destination in the city the car can find the shortest path and drive to it. I plan to use waypoints to keep the car drive on one side of the road, I'm not going to use A* since it's not ideal for car game, now I'm confused can I combine Navimesh and waypoint to navigate the car? If possible can someone drop an example how to combine?
Answer by Happy-Zomby · Apr 14, 2016 at 04:32 PM
Hi, there is a useful script here for waypoints here: http://forum.unity3d.com/threads/cant-make-a-simple-patrol-waypoint.272336/ does that help?
Thanks for the link, but I have idea about the waypoints script, what I want to know is whether my idea is proper for my game and how to do it?
Your answer
Follow this Question
Related Questions
Navmesh How to check if full path available? C# 5 Answers
[Question] Get folder structure and filenames inside those folders at Runtime (Hololens), 0 Answers
Programmmed Animation (making transform move to vectors with code) 0 Answers
Navmesh Agent isStopped not working, can't get navemesh agent to stop. 1 Answer