Laser bullet?

Hello :slight_smile:

I know there are many questions about that (maybe too many) but there isnt a clearly answer. Or the answer is outdated and doesnt really work anymore.

But how to make a Laser bullet? Better use a static mesh (but how to make the glue effect?) or better use a particle system?

Hmm I dont know, hope you can help me.

Thank you

Well what I did was:

  1. Take a capsule
  2. Stretched it out till it looked like a laser
  3. Added a neon red material to it
  4. Added a light to it
  5. Made light a point light
  6. Made light same color as laser
  7. Messed with the properties till it looked right
  8. And added this script:

Laser Force Script

var Speed : float = 1500;

function Update() 
    transform.Translate(Vector3.forward * Time.deltaTime * Speed);

(The mesh is static)

Use both, a static mesh for the fast-moving part, particles or TrailRenderer for the trail.

You can use a static mesh if you want, a particle, or LineRenderer(which is kind of a combination of both, I guess), with a halo component attached to it.