Vehicle Drifting Effects
- KB
- Jan 3, 2020
- 1 min read
Unity | Tool Scripting | Lua | Blender | Modelling | Adobe Audition | Modding
2024
A script and Unity prefab to implement realistic drifting effects, such as skidmarks and tyre screeching, based on changes in a vehicle's velocity.
Created for a custom vehicle mod for Ravenfield, then publicly shared for other vehicle modders to use.
A set of drifting visual and audio effects that modders can add to their custom vehicles. The effects are toggled when a vehicle's ratio of horizontal to forward velocity goes over a set value (i.e. when a vehicle is turning sharply at high speed) or when suddenly braking at high speed.
The script and prefabs are publicly released for other modders to make use of. As a fully customisable add-on for custom vehicles, the effects can be applied to any wheeled vehicle, and parameters can be adjusted through public fields on the prefab.
Features:
Drifting skidmarks, particle effects and audio.
Drifting toggles automatically based on changes in velocity.
Fully configurable scripts and prefabs.
Reception:
The mod has over 9,500 unique downloads, and over a 97% positive rating.
The publicly released prefab and scripts are currently in use in over 25 custom vehicle mods created by at least 5 different modders.