🆙Use in your code
You can call public props and methods in the Drive component from your own components.
Here is an example of how you can use the Drive component to create your own car controller:
(this code is included in the asset in CarAI/Scripts/Player/Controller.cs
)
Here are some references that you can use in your code
In CarAI/Scripts/Core/Drive.cs
In CarAI/Scripts/AI/Sensor.cs
Last updated