The primary script that controls the player and AI car movement logic.

Inspector Overview

Variable Description
Vehicle Settings A ScriptableObject used as a profile to control vehicle settings, adjust these settings to customize player and AI vehicles.
Wheel Settings A ScriptableObject used to control wheel settings. These profiles allow you to easily configure custom skid trail prefabs to be used for different vehicles and ground surfaces.
Input Override Make references to the drive system and override the player input as needed.
Override Brake Enable brake input override.
Override Acceleration Enable acceleration input override.
Override Steering Enable steering input override.
Override Brake Power Brake power when override is enabled.
Override Acceleration Power Acceleration power when override is enabled.
Override Steering Power Steering power when override is enabled.
Wheels An array of references to each of the vehicle’s wheel mesh, collider, wheel script, audio source and wheel smoke particle systems. Only 4 wheeled vehicles are supported.
Align Wheel Colliders Press this button after changing the vehicle model and assigning new wheel references to automatically align the wheel collider positions to match the wheel mesh positions. You will still need to manually adjust the radius of your wheel colliders.


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Please do not use this for support questions.
For customer support, please contact us here.

Post Comment