Weapon trail effect – first draft

So I quickly scripted a rough trail effect in javascript.

It simply takes the mesh from the MeshFilter component, and create an X amount of faces (set through inspector). The first 2 vertices will follow the weapon (through 2 points attached to top and bottom of the weapon), and start dragging the next 2 vertices if they exceed a limit (also set in inspector).

Not a bad attempt, but I can already tell its going to cause problems later. Will redo the script.

Capture

Leave a Reply