I cant seem to be able to figure out how to add start & end width to this script. Been trying forever!
Tron Trail Start & End Width?
Code (CSharp):
- /*
- Generates a trail that is always facing upwards using the scriptable mesh interface.
- vertex colors and uv's are generated similar to the builtin Trail Renderer.
- To use it
- 1. create an empty game object
- 2. attach this script and a MeshRenderer
- 3. Then assign a particle material to the mesh renderer
- */
- var height = 2.0;
- public var time = 2.0;
- var alwaysUp = false;
- var...