The Gronk
Colon Pounder
Cheers for the clarification.The old vehicle (minibike) was/is being replaced by a modular system that supports varying amounts of wheels, motors (propellers) and forces (like buoyancy for boats), with much of the system configured by data in xml.
Unity provides the basics of what you need, which is not a vehicle, but parts to make one, which the old minibike did not use.
RigidBody and WheelCollider.
https://docs.unity3d.com/ScriptReference/Rigidbody.html
https://docs.unity3d.com/ScriptReference/WheelCollider.html
Those are not things you just slap together. They require a lot of code and a ton of tweaking to get them to work and feel right.
Our main vehicle code file is 3581 lines. The vehicle data code file is 1078 lines. There are 13 other code files for vehicle systems like the engine. The vehicle data in xml is 677 lines.
I know about the unity vehicle system, I've expanded it myself to add destructible bodywork panels and other gubbins. I was trying to keep things simple for those of us who aren't code-monkeys.

Apologies if that last sentence gets everyone shouting about fully destructible vehicles, this is why I was intentionally vague.
Last edited by a moderator: