Can i make vechicles follow a path?

Can i make vechicles follow a path?

Anonymous
Not applicable
5,644 Views
6 Replies
Message 1 of 7

Can i make vechicles follow a path?

Anonymous
Not applicable

Is it possible to make my vehicles autodrive along a centerline? Or do i have to manually click along the route i want it to follow?

 

For instance can i offset the centerline and make the vehicle autofollow?

0 Likes
Accepted solutions (1)
5,645 Views
6 Replies
Replies (6)
Message 2 of 7

Joe-Bouza
Mentor
Mentor
Accepted solution

Not only can you but I strongly recommend that you do.

 

Draw the path with a civil3d alignment using the minimum radius (maybe slightly larger) of the vehicle. Select the vehichle right click and pick follow>> then select the alignment.

 

I like this for three reasons:

 

1. the finished movement will be smooth without all the markers created by the mouse clicks

2. modifying the path for corrections is much easier by grip editing the alignment ( the minimum radius will be maintained 

3. using the alignment tools it easier IMHO to create scenarios.

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 3 of 7

Anonymous
Not applicable

Thank you for the answer, I will definately do this in the future

0 Likes
Message 4 of 7

hanery435
Explorer
Explorer

Absolutely! You can create vehicle paths and have them follow them in various game development environments.

Here are some common methods:

1. Waypoints:

  • Define a series of points (waypoints) along the desired path.
  • Vehicles can follow these points one by one, using techniques like steering behaviors or pathfinding algorithms.

2. Pathfinding:

  • Use pathfinding algorithms like A* or Dijkstra's to calculate the optimal path between two points, considering obstacles and terrain.
  • Vehicles can then follow this calculated path.

3. Spline-Based Paths:

  • Create a smooth curve (spline) that defines the path.
  • Vehicles can follow this curve using mathematical techniques like Bezier curves or Catmull-Rom splines.

4. Procedural Generation:

  • Generate paths procedurally based on terrain or other factors.
  • This can create more dynamic and varied paths.

5. User-Defined Paths:

  • Allow players to draw or define their own paths.
  • This can provide more customization and replayability.
Message 5 of 7

lakshays8QECK
Observer
Observer

Still helpful in 2025. Thank you!

0 Likes
Message 6 of 7

nandla
Observer
Observer

While our vehicles aren't fully autonomous, we do use advanced GPS and route planning tools to ensure efficient and timely airport transfers. Our drivers follow optimized routes based on real-time traffic data, so they don’t need to manually plan each stop or turn. In a way, this is similar to "autodriving along a centerline," as routes are pre-defined and adjusted dynamically to avoid delays.

We also make sure that pickups and drop-offs for services like the City Airport Taxi run smoothly by sticking to clear, central routes—like main access roads to terminals—so you get to your destination reliably and on time.

0 Likes
Message 7 of 7

Joe-Bouza
Mentor
Mentor

yes, poly lines, feature lines or alignments

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes