playMaker

Author Topic: Variable width trail renderer?  (Read 2267 times)

jayhfd

  • Junior Playmaker
  • **
  • Posts: 71
    • View Profile
Variable width trail renderer?
« on: May 10, 2012, 03:41:10 AM »
Hi,
For artistic effect I'd like to try changing the trail renderer so that the trail isn't a constant width the whole time. I tried accessing the width and changing it, however obviously I realised that this changes the width on the entire trail.

I'd like the trail to have thin sections, wide sections, potentially even change opacity as well. Any thoughts on how I'd do this? Hopefully I wouldn't need some crazy line renderer code, and of course doing it in playmaker would be great! :)

Regards,
Jay

justifun

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 228
    • View Profile
Re: Variable width trail renderer?
« Reply #1 on: May 10, 2012, 06:07:54 PM »
I think the trail renderer can switch sizes based on the model that its applied to, to follow. so if you had a sphere with the trail renderer component on it, try scaling the sphere up and down.