Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: jayhfd on May 10, 2012, 06:41:10 AM

Title: Variable width trail renderer?
Post by: jayhfd on May 10, 2012, 06: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
Title: Re: Variable width trail renderer?
Post by: justifun on May 10, 2012, 09: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.