- Home /
Trailrenderer is very narrow
I'm using trail renderer to make a bullet tracer for a first person shooter but if I'm not moving and looking directly at the bullet I can barely see the trail renderer because it's so narrow. When I adjust it's width it only increases one dimension but not another. Any advice?
Thanks in advance.
Answer by hellcats · Feb 18, 2011 at 04:54 AM
The TrailRenderer is like the LineRenderer: they both create 2D polygons with one axis rotated to align with the viewer so you don't easily see that they are 2D. Unfortunately, that still leaves the other axes unaligned. The particle system aligns all three axis for each particle, so you could add a particle emitter in addition to the TrailRenderer. Just make sure that "Simulate in Worldspace" is enabled.
How would I attach that to the trail renderer? Thank you.
Just put the Ellipsoid Particle Emitter on the same object as the TrailRenderer. Adjust the $$anonymous$$in Size and $$anonymous$$ax Size to match your Trail's width, and set the Ellipsoid X,Y,Z to all zero so the particles stay in the center of the trail.