# Properties

The main class in Arcade Vehicle Controller is VehicleBehaviour.cs, which must be attached to any vehicle for it to move.

| Property                                                                                                                                                 | Type             | Description                                                                                                                                                                  |
| -------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Acceleration                                                                                                                                             | float            | <p>How fast your vehicle speeds up, Range value 1 – 12 (higher value means faster). </p><p>Set via the vehicle settings.</p>                                                 |
| MaxSpeed                                                                                                                                                 | float            | <p>                                                                                                                                                                          |
| How fast your vehicle can move, Range value 1 – 100 (high value means faster). </p><p>Set via the vehicle settings.</p>                                  |                  |                                                                                                                                                                              |
| BreakSpeed                                                                                                                                               | float            | <p>                                                                                                                                                                          |
| How fast your vehicle brakes, Range value 1 – 15 (higher value means faster). </p><p>Set via the vehicle settings.</p>                                   |                  |                                                                                                                                                                              |
| BoostSpeed                                                                                                                                               | float            | <p>How fast your vehicle moves when boosting, Range value 5 – 200. </p><p>Set via the vehicle settings.</p>                                                                  |
| MaxSpeedToStartReverse                                                                                                                                   | float            | <p>The speed your vehicle will be travelling when it stops braking and reverses instead, Range 1 – 500 (higher value means sooner). </p><p>Set via the vehicle settings.</p> |
| Steering                                                                                                                                                 | float            | <p>                                                                                                                                                                          |
| Controls how tight of a turning circle your vehicle has, Range 20 – 160 (higher value means tighter cornering). </p><p>Set via the vehicle settings.</p> |                  |                                                                                                                                                                              |
| Gravity                                                                                                                                                  | float            | <p>A multiplier used to determine how quickly the vehicle falls to the ground, Range 0 – 20 (higher value means heavier vehicle). </p><p>Set via the vehicle settings.</p>   |
| Drift                                                                                                                                                    | float            | <p>Determines how slidey the vehicle is when turning, Range 0 – 1 (1 means very slidey). </p><p>Set via the vehicle settings.</p>                                            |
| VehicleBodyTilt                                                                                                                                          | float            | <p>Sets how much the vehicle tilts when turning, Range 0 – 3 (higher value gives a bigger tilt) </p><p>Set via the vehicle settings.</p>                                     |
| ForwardTilt                                                                                                                                              | float            | <p>Sets the multiplier for how much vehicle tilts when accelerating/ reversing, Range 1 – 10 (higher value means smaller tilt). </p><p>Set via the vehicle settings.</p>     |
| TurnInAir                                                                                                                                                | bool             | <p>Allow the vehicle to turn in the air. </p><p>Set via the vehicle settings.</p>                                                                                            |
| TwoWheelTilt                                                                                                                                             | bool             | <p>                                                                                                                                                                          |
| Gives the vehicle an extra tilt when turning, this is for vehicles with 2 wheels. </p><p>Set via the vehicle settings.</p>                               |                  |                                                                                                                                                                              |
| NearGround                                                                                                                                               | bool             | Returns if the vehicle is close to the ground.                                                                                                                               |
| OnGround                                                                                                                                                 | bool             | Returns if the vehicle is grounded.                                                                                                                                          |
| GroundMask                                                                                                                                               | LayerMask        | Returns the layers that the vehicle can move on.                                                                                                                             |
| DefaultMaxSpeed                                                                                                                                          | float            | Returns the MaxSpeed from the Vehicle settings, allowing you to manipulate the MaxSpeed and return to the default value.                                                     |
| DefaultSteering                                                                                                                                          | float            | Returns Steering from the Vehicle settings.                                                                                                                                  |
| IsBoosting                                                                                                                                               | bool             | <p>Returns if the vehicle is currently boosting</p><p><br>(Added in v1.11.0)</p>                                                                                             |
| GetVehicleVelocitySqrMagnitude                                                                                                                           | float            | Returns the velocity square magnitude of the vehicle as a float, used to work out when to emit smoke.                                                                        |
| GetVehicleVelocity                                                                                                                                       | Vector3          | Returns the velocity of the vehicle as Vecto3, used to work out when to emit smoke.                                                                                          |
| VehicleWheelCount                                                                                                                                        | enum Vehicletype | <p>Changes how many wheels the vehicle has. </p><p>4 wheels. </p><p>2 wheels. </p><p>No wheels.</p>                                                                          |
| VehicleModel                                                                                                                                             | Transform        | Parent transform of the vehicle model.                                                                                                                                       |
| PhysicsSphere                                                                                                                                            | Transform        | Transform for the GameObject named ‘SphereRigidBody’.                                                                                                                        |
| VehicleBody                                                                                                                                              | Transform        | Transform for the ‘body’ GameObject, used for tilting.                                                                                                                       |
| FrontLeftWheel                                                                                                                                           | Transform        | Transform for the main wheel. This is used as the front left of a vehicle with 4 wheels, and the front of a 2 wheeled vehicle.                                               |
| FrontRightWheel                                                                                                                                          | Transform        | Transform for the secondary wheel. This is used as the front right of a vehicle with 4 wheels, and the rear of a 2 wheeled vehicle.                                          |
| BackLeftWheel                                                                                                                                            | Transform        | Back wheel.                                                                                                                                                                  |
| BackRightWheel                                                                                                                                           | Transform        | Back wheel.                                                                                                                                                                  |
| VehicleSettings                                                                                                                                          | VehicleSettings  | Link to the vehicle settings ScriptableObject the vehicle is using for the data.                                                                                             |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://avcdocs.enigma23.co.uk/script-reference/properties.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
