# Tron-style trails?

**URL:** <https://forums.unrealengine.com/t/tron-style-trails/85116>\
**Category:** FX\
**Tags:** unreal-engine\
**Created:** [February 13, 2017, 12:53am UTC](https://forums.unrealengine.com/t/tron-style-trails/85116 "2017-02-13T00:53:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oventoaster955](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Oventoaster955](https://forums.unrealengine.com/u/Oventoaster955)\
**Post date:** [February 13, 2017, 12:53am UTC](https://forums.unrealengine.com/t/tron-style-trails/85116/1 "2017-02-13T00:53:40Z")

</div>

I am building a game that plays similarly to Tron. However, I’ve ran into two issues and I am stuck as to how to get moving:

- The texture I built for the trail stretches across the entire beam (which will be incredibly long). This is no good as I want the trail to be customizable in the future. How do I make it so that the texture tiles along the beam instead of stretching? (In this case, the beam trail uses the Ribbon system). Do I need to use a different particle system than a Ribbon? Should I use a texture(s) that don’t mind being stretched?
- After researching the Particle System and all the tutorials, I know that there exist methods that fire when the Particle touches an Actor. However, there is no information for when an Actor touches a Particle, which I need to happen for the trail to actually kill enemies. Looking into the Blueprint for the Particle System, it says that the PS can generate OnActorBeginOverlap events, but does not fire when my pawn flies through its own trail. How do I get this event to fire? Should I use a different method than the Particle System to generate my trail?

---

<div class="post-metadata">

**Author:** ![Oventoaster955](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Oventoaster955](https://forums.unrealengine.com/u/Oventoaster955)\
**Post date:** [February 15, 2017, 7:38pm UTC](https://forums.unrealengine.com/t/tron-style-trails/85116/2 "2017-02-15T19:38:49Z")

</div>

I really need an answer for this. This has been driving me nuts for the past month…

---

<div class="post-metadata">

**Author:** ![CoquiGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coquigames/32/1194591_2.png) [@CoquiGames](https://forums.unrealengine.com/u/CoquiGames)\
**Post date:** [February 15, 2017, 8:05pm UTC](https://forums.unrealengine.com/t/tron-style-trails/85116/3 "2017-02-15T20:05:21Z")

</div>

Look for “World Aligned textures” - this should solve the stretching problem I hope 🙂

---

<div class="post-metadata">

**Author:** ![Oventoaster955](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Oventoaster955](https://forums.unrealengine.com/u/Oventoaster955)\
**Post date:** [February 16, 2017, 5:24am UTC](https://forums.unrealengine.com/t/tron-style-trails/85116/4 "2017-02-16T05:24:49Z")

</div>

Unfortunately, the WorldAlignedTexture did not work. The result is unchanged. Here is the material I am using.

 ![Capture.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/9/5/95bc011eea418b8bc9a91cf7840455602ff6ae74.png)

---

<div class="post-metadata">

**Author:** ![MirrorSword](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MirrorSword](https://forums.unrealengine.com/u/MirrorSword)\
**Post date:** [February 16, 2017, 10:09pm UTC](https://forums.unrealengine.com/t/tron-style-trails/85116/5 "2017-02-16T22:09:13Z")

</div>

For the texture tiling issue, look into the “Tiling Distance” setting on the Ribbon module. If you set that to \> 0 it will tile the 2nd UV set at that distance.

---

<div class="post-metadata">

**Author:** ![Trastrastras](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Trastrastras](https://forums.unrealengine.com/u/Trastrastras)\
**Post date:** [February 18, 2017, 12:19am UTC](https://forums.unrealengine.com/t/tron-style-trails/85116/6 "2017-02-18T00:19:35Z")

</div>

> **[Tron Trail - how to implement a trail with collision](https://forums.unrealengine.com/showthread.php?57041-Tron-Trail-how-to-implement-a-trail-with-collision)**
>
> Dear fellow programmer, some friends and me are programming an armagetron clone, a tron-like game. Now we have this problem to decide, which is the best practice to implement a trail for our tron motorcycle, which should have collision (trigger...

And there is something about anim trails from socket:  
[https://answers.unrealengine.com/questions/54773/anim-trail-data.htmlhttps://youtube.com/watch?v=5HkghxEIXiU](https://answers.unrealengine.com/questions/54773/anim-trail-data.htmlhttps://youtube.com/watch?v=5HkghxEIXiU)  
but i don’t know if this can help

---

<div class="post-metadata">

**Author:** ![DieByZer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DieByZer0](https://forums.unrealengine.com/u/DieByZer0)\
**Post date:** [February 18, 2017, 12:03pm UTC](https://forums.unrealengine.com/t/tron-style-trails/85116/7 "2017-02-18T12:03:49Z")

</div>

Out of my head i think you need to change the UV channel from 0 to 1 in your materials textures, I think its everything but opacity, Experiment a bit to figure that one out and the ribbons will start taking proper input on tiling etc.

---

<div class="post-metadata">

**Author:** ![Oventoaster955](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Oventoaster955](https://forums.unrealengine.com/u/Oventoaster955)\
**Post date:** [April 4, 2017, 11:19pm UTC](https://forums.unrealengine.com/t/tron-style-trails/85116/8 "2017-04-04T23:19:13Z")

</div>

I was able to stop the stretching by setting the tiling distance to 100, as well as adding a TexCoord(1) to the base texture. However, the collision issue still persists. The sources I have looked up say that collision with Ribbons is impossible. Do you know any workarounds?
