Bullet Line - As seen in Halo

Hi, I am just curious how I would achieve the effect from Halo 3 when using the battle rifle, assault rifle, or sniper rifle,  how when you shoot, a ray - type bullet line comes out and dissipates from the origin towards the endpoint.



What type of effect is this?



Thank you

Check out the TrailMesh class and test.

The bullet line effect in Halo 3 is similar to tracer bullets effect that I demonstrated in http://www.jmonkeyengine.com/forum/index.php?topic=10810.msg91318#msg91318.

Basic idea is to render bullet line with a transparent and narrow shape like a cylinder or quad. Small random error in bullet line direction makes the effect look better.