Trail Renderer
Render a trail effect behind moving objects.
Introduction
Trail Renderer draws a ribbon of trail behind anything that moves: a sword swing, a meteor tail, tire marks. The shape, colors, and fade of the ribbon are all adjustable. To attach Trail Renderer to a character instead, follow the Character Trail Renderer guide. The Trail Renderer component panel in the Object editor Image The Trail Renderer component panel in the Object editor. caption
How to Access
Select an object, open the Properties Panel, then press the Add Component button at the bottom and pick Trail Renderer. The component stacks onto the object as a new accordion of properties. Video
Another Way to Access
Shortcut: open the Asset Panel, go to the Device tab, Others category, and click the Trail block. The editor spawns a cube with Trail Renderer already attached, ready to adjust. How to Access - the Trail block in Asset Panel > Device > Others
Properties
Is Active Bool Turns the component on or off. Texture The image stretched along the trail. Tiling Mode Enum Stretch pulls the texture along the whole trail. Tile repeats it at its natural size. Start Size Float The width of the trail at its root. End Size The width of the trail at its tip. Lifetime How long each piece of trail survives before fading away. Vertex Distance How finely the trail bends, which sets its smoothness around corners. Start Color Color The color at the root of the trail. End Color The color at the tip of the trail. Fade In How smoothly the trail solidifies when it first appears. Fade Out How smoothly the trail dissolves at the end of its life. Property Type Description Every property on the Trail Renderer component.
Events
Trail Renderer has no events.
Commands
Trail Renderer has no commands.
Example
Trail Renderer on an object combined with the Moving component Trail Renderer - Simple video