CarController is an script of Unity3D that's used to controll veichles on the game.
Just, you had to put the script on the vehicle mesh.
- Note: will need to configure the whellcolider for each whell, like that:
After that, your components tab will have the script configurations:
| Parameter | Description |
|---|---|
| Torque Force | This is the force of the steel. The number depends of the weigth of the rigigbody, and HOW MUCH strong you wanna the engenier. |
| Break Force | The break that will be applyed to the wheel when you press the break button. |
| Torque Friction | This is the force that will decrese the velocity when the acelerator are not pressed. |
| Direction Force | |
| Direction Delay | |
| Enable Debug | When enabled, show's a lot of data on the console. |

