A simple skidmark effect generator for Unity3D
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Assets Code cleanup May 10, 2017
ProjectSettings
.gitattributes 🎪 Added .gitattributes May 10, 2017
.gitignore Initial commit May 10, 2017
LICENCE Initial commit May 10, 2017
README.md Typographical May 10, 2017
skid.gif Initial commit May 10, 2017

README.md

UnitySkidmarks

A basic skidmark system intended for vehicles. Originally written for my game Scraps 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.

Visualisation example.

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.