• Stars
    star
    127
  • Rank 282,790 (Top 6 %)
  • Language GDScript
  • License
    MIT License
  • Created over 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A 3D trail add-on for the Godot engine

ProtonTrail - 3D Trail addon for Godot

trail

Overview

  • 3D trail custom node for Godot Engine
  • Generated at runtime
  • Adjustable resolution
  • It's just a mesh so you can apply your own materials on it

How to use

  • Clone the repository to your addons folder
  • Go to Project settings > Plugins and activate the ProtonTrail plugin
  • Add a ProtonTrail node to your scene
    • It should automatically create two new child nodes Top and Bottom
  • You should have a setup similar to this :

trail_setup_1

  • The Top and Bottom nodes define the width of the trail. When these nodes move through space, the trail is generated between them.

Parameters

  • Resolution
    • Defines the geometry density.
    • Higher values means more vertices generated when the emitter moves.
    • Reasonable values are roughly between 6 and 15.
  • LifeTime
    • Defines how long the trail is.
    • Higher values means a longer trail.
  • Smooth
    • How much smoothing to apply to the trail.
    • Set it to 0 to disable it.
    • This is especially usefull on fast moving objects.
  • Invert UV X
    • Flip the UV coordinates on the X axis.
    • By default, the left side of the texture is where the trail emitter is.
  • Invert UV Y
    • Flip the UV coordinates on the Y axis.
  • Emit
    • Generates a trail when the emitter moves.
    • If disabled, all previously generated trails will still be rendered, but no new geometry will be generated