Download

Rendering a trail behind a moving object

Hi.
I would like to render a line behind some of my moving objects. So far I have been using the Debug Draw Line in the blueprint of my actors, but since it will not be executed in the final product, it is kinda useless for me. I have tried messing around with FPrimitiveDrawInterface:: DrawLine, but even though I have been coding in Java and C# for several years, C++ is just too confusing for me at this moment. Do you have any ideas on how to achieve the effect I want, or how to make the DrawLine function in C++?