A ScriptableObject used as a profile to control car settings, adjust these settings to customize player and AI vehicles.

ScriptableObject locations

Assets\TurnTheGameOn\Arcade Racer\Data\CarSettings

Summary

The CarSettings profile is assigned to the Car DriveSystem script on the player and AI car controller prefabs.

Inspector Overview

Variable Description
Car Drive Type Sets the vehicle drive type (front, rear, 4 wheel drive).
Speed Type Sets the vehicle drive type (MPH or KPH).
Manual Sets the vehicle transmission type (disabled is automatic, enabled is manual).
Center of Mass Sets the center of mass for the vehicle.
Max Steer Angle Clamps the max front wheel steering angle.
Steer Sensitivity A factor to increase or decrease the amount of steering toward a target angle that is processed.
Steer Helper Amount of artificial assistance used to help ensure the car drives in the right direction.
Traction Control Helps balance torque for increased traction.
Full Torque Over All Wheels Total torque distributed among the powered wheels.
Reverse Torque Amount of torque used while reversing.
Enable Down Force Enable or disable vehicle downforce.
Downforce Amount of downforce the vehicle receives.
Top Speed Top speed while driving.
Top Speed Reverse Top speed while driving in reverse.
Number Of Gears Number of gears.
Brake Torque Amount of torque used to brake.
Min RPM Clamps the min RPM range.
Max RPM Clamps the max RPM range.
RPM Limit Sets the max amount for a vehicle’s engine RPM.
Torque Curve A curve used to control the torque amount for each gear.
Gear Speed Limit Curve A curve used to control the speed limit for each gear.
Nitro Top Speed Vehicle top speed while nitro is being used.
Nitro Full Torque Amount of torque the vehicle has when nitro is being used.
Nitro Duration Max duration nitro can be used.
Nitro Spend Rate Rate at which nitro is consumed.
Nitro Refill Rate Rate at which nitro refills.
Enable Nitro Enable or disable the use of nitro.
Enable Drag Override Enable or disable the vehicle rigidbody artificial drag override that’s added when acceleration is released.
Max Drag Drag applied when the player is not accelerating.
Max Angular Drag Angular Drag applied when the player is not accelerating.
Min Drag Drag applied when the player is accelerating.
Min Angular Drag Angular Drag applied when the player is accelerating

Feedback

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