# Individual Effect Set Up

### Tire Smoke

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2F2GCo6XazYXvwVEKJA9Gb%2Fimage.png?alt=media&#x26;token=2a131cb8-3a69-44f8-86b0-7dad83f11715" alt="" width="455"><figcaption></figcaption></figure></div>

Tire Smoke is displayed on wheels that are forward or sideways slipping.&#x20;

The VFX Asset for tire smoke is located at "CustomVehicleController/Demo/VFX/VisualEffectAssets/TireSmokeVFX".

The Particle System prefab is located at "CustomVehicleController/Demo/VFX/ParticleSystems/SmokeParticleSystem".

Vertical offset is an additional distance from the point where the wheels have contact with the ground.

***

### Tire Trails

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2FtNgbmUL4rmDSwfW3MhL5%2Fimage.png?alt=media&#x26;token=95a6e010-84ad-490b-920b-eee582ee3337" alt="" width="455"><figcaption></figcaption></figure></div>

Tire Trail is displayed on wheels that are forward or sideways slipping.&#x20;

The TrailRenderer prefab is located at "CustomVehicleController/Demo/VFX/TrailRenderer/TireTrail".

Vertical offset is an additional distance from the point where the wheels have contact with the ground.

***

### Brake Lights

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2F4dR5URpBYlXuwtckmv30%2Fimage.png?alt=media&#x26;token=58dd20a3-3ba4-4bf9-b964-f124c7882289" alt=""><figcaption></figcaption></figure></div>

Brake lights change the color of the material on selected MeshRenderer while braking.

You need to have rear lights as separate game objects:

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2FTKCwbnPJxPeo9nIyX7ya%2Fimage.png?alt=media&#x26;token=19c3c29c-32a0-45a1-a2c0-0b7226ad6081" alt="" width="563"><figcaption></figcaption></figure></div>

Assign it/them to the rear light meshes property:

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2Fxd1Cekyk8VPux1TFPybc%2Fimage.png?alt=media&#x26;token=4a930498-0763-4174-93a7-103807848897" alt="" width="451"><figcaption></figcaption></figure></div>

{% hint style="info" %}
Since version 1.1.0 you can also select at what indexes of the MeshRenderer component to select the materials that will change their color when braking.

<img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2F9FDOW8hPLl0pPmkvF0SH%2Fimage.png?alt=media&#x26;token=78a7e7f1-6e31-4703-a749-a7596fa6ea40" alt="" data-size="original">
{% endhint %}

Select the HDR color:

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2FkudDGajtLZ1usduSv69Y%2Fimage.png?alt=media&#x26;token=a572b114-47f9-4195-9298-dcfd28a8256f" alt="" width="439"><figcaption></figcaption></figure></div>

***

### Brake Disks Glow Effect

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2FpqxfZ516LGyWvRtHkk3z%2Fimage.png?alt=media&#x26;token=4148d131-70eb-426d-bdb5-0a0854f8fa52" alt=""><figcaption></figcaption></figure></div>

During braking, depending on the speed and braking intensity, the braking disk meshes will gradually change their color to the specified one. Most properties are the same as in the "Brake Lights" visual effect.

"Heat Up Time" and "Cool Down Time" are relative and depend on the car's speed, braking input and current color.

***

### AntiLag Effect

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2Fsmb6X7f135P68qNmVLcQ%2Fimage.png?alt=media&#x26;token=1b0b461f-fdc7-4091-8e56-3bbd22897093" alt="" width="453"><figcaption></figcaption></figure></div>

AntiLag Effect is played at the positions of ExhaustPositionArray when the vehicle is using a Turbocharger as a Forced Induction system.&#x20;

When the turbo is spinning at full speed and the vehicle shifts gear, the effect will be played once.

When the turbo is spinning at full speed and the player lets go of the gas, the effect will be player a random number of times from "Min Backfire Count" to "Max Backfire Count" with a "Backfire Delay" delay between each effect trigger.

The VFX Asset for anti lag effect is located at "CustomVehicleController/Demo/VFX/VisualEffectAssets/AntiLagVFX".

The Particle System prefab is located at "CustomVehicleController/Demo/VFX/ParticleSystems/AntiLagParticleSystem".

***

### Nitro Effect

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2F4WgZpb20R2oB0ebfc8q4%2Fimage.png?alt=media&#x26;token=b95ea6ff-fce2-4720-bc6a-e388a5a3fcea" alt="" width="474"><figcaption></figcaption></figure></div>

Nitro effect is player at the positions of each ExhaustPositionArray game object when the player is using nitro.

If you are using a VisualEffectAsset, you can change a Gradient from the inspector.

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2FuNOF0zKLiIS2nerlNS5M%2Fimage.png?alt=media&#x26;token=6aa71d62-8388-499b-ae1b-c7d610d7f0b1" alt="" width="473"><figcaption></figcaption></figure></div>

If you are using a ParticleSystem, you need to modify a material that the particle system is using.

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2FuSFWvvOeDwzaouC7j00g%2Fimage.png?alt=media&#x26;token=162b816b-6ac8-4261-9ad2-bfa066c5bce1" alt="" width="563"><figcaption></figcaption></figure></div>

Go to "CustomVehicleController/Demo/VFX/ParticleSystems/NitroPS" and select NitroPS prefab. In the inspector, scroll down to change the properties of the ColorOverlifeHDR material that the PS is using.

The VFX Asset for nitrous effect is located at "CustomVehicleController/Demo/VFX/VisualEffectAssets/NitroVFX".

The Particle System prefab is located at "CustomVehicleController/Demo/VFX/ParticleSystems/NitroPS".

***

### Body Effect

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2FJSQtBnZAAu0ommuHxuQI%2Fimage.png?alt=media&#x26;token=e489527e-45cc-4540-8fbd-e6846e7c0bed" alt="" width="455"><figcaption></figcaption></figure></div>

Body Effect emits wind particles from the vehicle. The amount and speed of particles depend on the vehicle's speed.

&#x20;The VFX Asset for anti lag effect is located at "CustomVehicleController/Demo/VFX/VisualEffectAssets/NitroVFX".

The Particle System prefab is located at "CustomVehicleController/Demo/VFX/ParticleSystems/NitroPS".

***

### Wing Aero Effect

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2FNHen7JdU7VoFHDaQ35Ak%2Fimage.png?alt=media&#x26;token=a3bbf617-4bec-4570-935c-fc465f57edc7" alt="" width="452"><figcaption></figcaption></figure></div>

Wing Aero effect controls trail renderers that emit from the edge of the vehicle's spoiler.

Go to "CustomVehicleController/Demo/VFX/TrailRenderer". Drag and drop the WingTrail prefab into the scene.&#x20;

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2F1wNSKK1lNgfxgN3q4Jnq%2Fimage.png?alt=media&#x26;token=f4b39d47-5d66-4414-b8d1-2e4eb0201f30" alt="" width="563"><figcaption></figcaption></figure></div>

Position the prefab at the location from where the TrailRenderer would be emitting.

Populate the TrailRenderer Array property with the recently added prefabs.

<div align="left"><figure><img src="https://3780384024-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPyvySfaC85jUgVcDPRJ%2Fuploads%2Fg2fBq2s7oRc3VnYMDevs%2Fimage.png?alt=media&#x26;token=0232c3e8-0791-40f5-9cd0-6982ad6965e1" alt="" width="452"><figcaption></figcaption></figure></div>
