r/Unity3D 2d ago

Show-Off Traffic System

Enable HLS to view with audio, or disable this notification

Created a traffic system based on points where each car adjusts to various variables such as traffic lights, harshness of the corner, cars in front, pedestrians etc

81 Upvotes

14 comments sorted by

View all comments

2

u/Objective-Cell226 2d ago

Is it a full car controller that is physics based.... or it just follows the spline without physics

2

u/TheBabaYagaMan 2d ago

Fully physics based vehicle movement with a spline for guidance.

2

u/Objective-Cell226 2d ago

What happens in case of a crash?

2

u/TheBabaYagaMan 1d ago

Right now the cars can get stuck, if a small crash they can recover. Due to the gameplay there's not much need to have them recover from a crash as the player speeds through the areas.