# Utilizing offsets

{% hint style="info" %}
**You will find it easier to edit the offsets** [**utilising the exports demonstration menu**](https://github.com/Nep1337/dynamicSDK/tree/main/dynamic_nativedemo)\
\
**Press F1 to activate it once installed, and navigate to "Brake Exports" to enable brake debug mode.**
{% endhint %}

While most of dynamic vehicleData.lua fields and components are created via scripts/tools, there still are 3 main fields that are meant for manual offsetting.\
\
With then being:

## Camera:

Inside the camera offset, you'll be able to predetermine Y and Z offsets for both chase and FPV cam in the vehicle.

Fields:

```lua
            chaseCamYOffset = 0, -- Y Offset for the chase camera
            chaseCamZOffset = 0, -- Z Offset for the chase camera
            fpvCamYOffset = 0, -- Y Offset for the FPV camera
            fpvCamZOffset = 0, -- Z Offset for the FPV camera
```

## carBrakeGlow:

This component is responsible for setting the brake glow VFX configuration for the specified vehicle.

\
Fields:

```lua
            carGlowBrakeXOffset = -0.0075, -- Offset on the X axis for the effect
            glowBrakeRadius = 0.5, -- Radius of the brake discs
```

## bikeBrakeGlow:

This component is responsible for setting the brake glow VFX configuration for the specified vehicle, if it is a motorcycle.\
\
In motorcyles, since we can have 2 discs per wheel, and they're visibile in both sides, we introduce 2 news offset fields, spacing & width.\
\
The width, represents the disc brake width, usually arround 0.01.\
\
The spacing represents the distance from the left or right brake disc, depending on how you setup the "bikeGlowBrakeFrontOffset" and your bike 3d model.\
\
&#x20;Treat it as a mirror from that setup, if you enabled  "usesDualDiskFrontBrake". \
Else it will not be used and you may set it to 0.\
\
\
Fields:

```lua
            bikeGlowBrakeFrontSpacing = 0, -- Already mentioned above.
            brakeDiskSettings = {
                bikeGlowBrakeFrontDiskWidth = 0, -- Already mentioned above.
                bikeGlowBrakeFrontOffset = 0, -- The X offset of the first or only disc on the front bike wheel.
                bikeGlowBrakeFrontRadius = 0, -- Radius of the brake discs
                bikeGlowBrakeRearDiskWidth = 0, -- Already mentioned above.
                bikeGlowBrakeRearOffset = 0,  -- The X offset of rear brake disc on the bike.
                bikeGlowBrakeRearRadius = 0, -- Radius of the brake discs
            },
            usesDualDiskFrontBrake = false, -- Flag this as true if you bake use 2 discs at front.

```


---

# 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://legacydmc.gitbook.io/dynamic/fine-tuning-your-vehicle/utilizing-offsets.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.
