Welcome
About AVC and what's included in the package
Last updated
About AVC and what's included in the package
Last updated
Arcade Vehicle Controller (AVC) is a simple vehicle controller asset allowing you to create any type of vehicle – car, hover car, motorbike, boat. The customizable arcade-y feel to the vehicles gives a fun, satisfying, player experience to your vehicles.
Included is a Vehicle Builder editor window, which allows you to setup a new vehicle in seconds! Just link the required objects and fill in the details, press a button and you’ve got your new vehicle!
The values for a vehicle (speed, turning, drifting, etc.) are saved in a ScriptableObject, meaning you can re-use the same values for hundreds of different vehicles, and only have to tweak them in 1 place.
Also included, are examples of how to interact with the vehicle controller for player input and AI.
/Demo/ - In this folder is extra items that are used purely for the demo scene. Once you no longer require the demo scene, you may delete this folder without any issues. /Examples/ - This folder is important, it holds examples for various parts of the asset for you.
/Examples/AudioData/ - Example AudioData assets used with the demo Car and Motorbike.
/Examples/CollisionData/ - Example CollisionEffectsData assets.
/Examples/DriftSettings/ - The default DriftSettings asset.
/Examples/Effects/ - Quick, simple effects used to demonstrate smoke trails and tire trails from the vehicles. New to v1.5 - this folder also includes two collision effects. They’re here to show setup, they’re not production quality assets.
/Examples/VehicleModels/ - FBX files for the vehicles, and their prefabs with the correct hierarchy setup that the asset requires.
/Examples/VehiclePrefabs/ - Premade prefabs of each vehicle type. These are used in the demo scene. Use these as reference if you encounter any issues with your own vehicles.
/Examples/VehicleSettings/ - These ScriptableObjects hold the data for each example vehicle type. A vehicle requires a vehicle setting.
/Materials/ - Physics material used on the vehicle’s collider.
/Scripts/ - The scripts used to simulate the vehicle movement and control the effects.
/Scripts/Audio/ (new in v1.5) - Scripts related to AVC's audio solution.
/Scripts/Collision/ (new in v1.5) - Scripts related to vehicle collisions.
/Scripts/Editor/ - Editor scripts, which give a custom inspector for VehicleBehaviour.cs, and the vehicle builder editor window scripts. In here there is also a ScriptableObject to save your builder window data.
/Scripts/Examples/ - Example scripts to show you how you might want your own classes to communicate with VehicleBehaviour.cs. These are optional, however, they are used on the example prefabs, deleting these scripts will give you missing component references on those.
The demo scenes require some of Unity's packages to work. When importing AVC a prompt will be displayed asking for you to confirm the import for the following packages:
TextMesh Pro
Cinemachine