x


Trail Renderer needs more prescision!

Hello! I am having trouble making a nice trail following my sword. The trail renderer does work, but I get a lot of broken mesh when it tries to face the camera. Has anybody found a way to by pass this? Any good scripts out there to try out? I had to make my trail as textures on Particles emitors to resolve my problems for now, but it does not look as nice! Thanks!

more ▼

asked Feb 07 '12 at 11:59 PM

sophiness gravatar image

sophiness
1 2 2 2

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

You'll want to use either a LineRenderer or make your own mesh to apply this kind of effect. Trail Renderers are generally good for (generally) simple requirements unfortunately it doesn't seem like they were designed to be used outside of the context of tracers or streaks for the physics system.

If you look around at roll-your-own solutions for line renderers you'll probably have some success but you'll still run into the mesh deformation problem which is why I'd recommend generating your own mesh out of triangles at runtime.

more ▼

answered Feb 08 '12 at 02:02 AM

tingham gravatar image

tingham
660 2 7 13

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x659
x59
x51
x19
x12

asked: Feb 07 '12 at 11:59 PM

Seen: 704 times

Last Updated: Feb 08 '12 at 02:02 AM