https://github.com/nition/unityskidmarks
A simple skidmark effect generator for Unity3D
https://github.com/nition/unityskidmarks
c-sharp driving effects fx unity-3d unity-scripts unity3d vehicle vehicles
Last synced: 3 months ago
JSON representation
A simple skidmark effect generator for Unity3D
- Host: GitHub
- URL: https://github.com/nition/unityskidmarks
- Owner: Nition
- License: other
- Archived: true
- Created: 2017-05-10T09:53:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-19T09:06:43.000Z (about 2 years ago)
- Last Synced: 2024-11-10T22:39:21.273Z (about 1 year ago)
- Topics: c-sharp, driving, effects, fx, unity-3d, unity-scripts, unity3d, vehicle, vehicles
- Language: C#
- Homepage:
- Size: 12.6 MB
- Stars: 258
- Watchers: 19
- Forks: 68
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Please note: This repository is no longer maintained.
# UnitySkidmarks
A basic skidmark system intended for vehicles.
Originally written for my game Scraps: Modular Vehicle Combat but intended to be general-purpose.
UnitySkidmarks is loosely based on a script from an old official Unity car tutorial, but with improved performance and zero garbage generation.
This repository comes with an example scene built with Unity 5.6, using Unity 5 standard assets for the vehicle and terrain.

The **UnitySkidmarks** folder is the only content required to make the system work on its own.
**Skidmarks.cs** is the main controller script, and all skidmark-making objects in the scene should call it. You could turn this into a singleton for easier access.
**WheelSkid.cs** is an example script for what you might put on a wheel to generate skidmarks. In the example scene, each wheel on the car has a copy of this script.