2021-12-20

(Unity) Is there a way to animate Line Renderer without code?

I'm prototyping a 2D space shooter, and i wanted a secondary special attack that creates a laser, completely kinematic, coming out of the ship's front. I've done the laser using Line Renderer and the Bloom Post Processing effect.

So I was wondering if it is possible to animate the line renderer on the animator. I've tried to do it but it seems that the animator, as far as I can see on my Unity 2019.2.17f1 version, that it only appears to allow animations for the Line Renderer's material-related stuff, not related to the position array (curve), aside from the Width multiplier property, which I also need but isnt sufficient for the animation

Maybe I'm missing a name but it seems that you cant really modify the parameters if it's not via code.

Any ideas?



from Recent Questions - Stack Overflow https://ift.tt/3e3AAhz
https://ift.tt/eA8V8J

No comments:

Post a Comment