[Solved!] How can i create a streak / trail for a projectile?

How do I…

How can i create a streak / trail for a projectile?

What is the expected result

The projectiles fired by the player should create a streak / trail (of smoke maybe) like shown below (from Gungeon)
image

Go to your scene, open your list of objects, click the plus to insert a new object, choose the option"from asset store", and type in the search box “basic flame”. Also “basic sparks” is a good one as well.

1 Like

The way i like to do it is with a particle emitter.

Make a particle emitter that you like, then, when you create the “bullet” object, you also create the particle emitter,

You can do something like…
Action

  • Create Bullet
  • Create Emitter
  • Link two object together “Bullet” and “Emitter”

then make a seperate event with only the action and no condition
Action

  • Take linked objects into account “Bullet” and “Emitter”
  • Change position of “Emitter” to “Bullet.CenterX()” and “Bullet.CenterY()”

This is usually how i make my trails :slight_smile:

1 Like

Thank you so much @Ken2100 and @MagicBiscuit for your kind help.