# What's the best way to populate a particle system (draw projectile trajectory)?

**URL:** <https://forums.unrealengine.com/t/whats-the-best-way-to-populate-a-particle-system-draw-projectile-trajectory/294339>\
**Category:** World Creation\
**Tags:** particle-collision, particle-systems, unreal-engine, Physics, question\
**Created:** [September 22, 2014, 5:47pm UTC](https://forums.unrealengine.com/t/whats-the-best-way-to-populate-a-particle-system-draw-projectile-trajectory/294339 "2014-09-22T17:47:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gamer08](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gamer08](https://forums.unrealengine.com/u/gamer08)\
**Post date:** [September 22, 2014, 5:47pm UTC](https://forums.unrealengine.com/t/whats-the-best-way-to-populate-a-particle-system-draw-projectile-trajectory/294339/1 "2014-09-22T17:47:40Z")

</div>

Hey guys i’m confused and need help to render a trajectory.

First take into account i’m a programmer and not an artist. 🙂

Context : I work on a third person game where the player have the ability to throw stuff. Also we won’t have air resistance, wind, bounce or other stuffs. Just the classical parabola trajectory.

My artists teammate ask me to find a way to draw the trajectory of the projectile / object.

i’m stuck at 2 important points right now.

1rst : I use the basic physic function y = tan (angle) \* X - ((G / (2 Vo cos(angle))^2) \* X^2)

The angle is the pitch

G is gravity

Vo is initial speed in M/S

I seek in the engine to find out what “function” it use to calculate trajectory if i dont take into account mass, friction and other stuff… but the result is not really great at the moment.

2nd Problem : I don’t know how to populate a particle system properly. For example, each 0.3 seconds i would send position datas to the particle.

I know there is module to control partcle system but i don’t know if there’s one that could be usefull for me.

Also is there a better solution to render a trajectory ?

I’m open to any propositions or ideas.

If you need more infos just says it.

Thanks

gamer08

---

<div class="post-metadata">

**Author:** ![Oyand](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Oyand](https://forums.unrealengine.com/u/Oyand)\
**Post date:** [December 17, 2014, 8:55pm UTC](https://forums.unrealengine.com/t/whats-the-best-way-to-populate-a-particle-system-draw-projectile-trajectory/294339/2 "2014-12-17T20:55:32Z")

</div>

I also need this exact thing! Staff??

---

<div class="post-metadata">

**Author:** ![DeathUman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DeathUman](https://forums.unrealengine.com/u/DeathUman)\
**Post date:** [April 16, 2016, 2:49pm UTC](https://forums.unrealengine.com/t/whats-the-best-way-to-populate-a-particle-system-draw-projectile-trajectory/294339/3 "2016-04-16T14:49:07Z")

</div>

This solved all my issues in creating something like what you require:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/e/4/3e481251c6999fbd706a9e851ce9e93eb9e71231.jpeg "UE4 Projectile Trajectory Tutorial : Part1") ](https://www.youtube.com/watch?v=Fkp50urxShg)
