This is a very simple car made of three objects, a body mesh, a single wheel mesh, and a rigid body.
The car uses local2parent to mimic the movements of a car by rotating the car about the rear axle position. I also equipped it with a simple waypoint system that reads from an array and spawn the cars randomly along the path. This can be used for simple traffic cars in for example an open world game like GTA or a racing game with many opponents. It's not very cpu hungry as it doesnt use any of the car or wheel objects. I think it can be optimized even more if the imposter wheel and body meshes is used for all the cars in the scene. I was able to run 21 cars at a decent framerate.
Big thanks to Bobby Soon/Chronocide for the help with waypoint navigation:)
It's free for non-commercial purposes if anyone wants to use it, just remember to mention me & cronocide in the credits
The car uses local2parent to mimic the movements of a car by rotating the car about the rear axle position. I also equipped it with a simple waypoint system that reads from an array and spawn the cars randomly along the path. This can be used for simple traffic cars in for example an open world game like GTA or a racing game with many opponents. It's not very cpu hungry as it doesnt use any of the car or wheel objects. I think it can be optimized even more if the imposter wheel and body meshes is used for all the cars in the scene. I was able to run 21 cars at a decent framerate.
Big thanks to Bobby Soon/Chronocide for the help with waypoint navigation:)
It's free for non-commercial purposes if anyone wants to use it, just remember to mention me & cronocide in the credits