- Home /
Get Particles to Travel in a Line
Hi, all!
I have a laser beam that is just a line renderer and it uses raycast to clip itself to the nearest object. Is there a way for me to get particles to travel down the beam in a line begin at the line renderer's origin and ending where it stops?
Or would this better be done with textured planes?
No ideas? What I'm after here is something that operates just like a line renderer, but has rings traveling down it. I tried with planes but didn't get the affect I wanted -_-
Answer by Griffo · Mar 26, 2013 at 07:45 PM
Yes you can, follow this -
http://rockonflash.wordpress.com/2010/04/17/how-to-do-lasers-in-unity3d/
Sorry, man! This isn't what I was looking for! The line render both moves and has its end adjusted, so this wouldn't work. Is there a way for me to get the particles to always travel down the ray, even when it's end is moving? (The starting point doesn't move locally. It stays parented to the player).