Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: LogLady on August 13, 2014, 04:37:40 PM

Title: Set Trail Renderer Material [SOLVED]
Post by: LogLady on August 13, 2014, 04:37:40 PM
Hi!

Is there any action or a way to set the trail renderer material using Playmaker?

Thanks!
Title: Re: Set Trail Renderer Material
Post by: Lane on August 14, 2014, 12:54:27 PM
No specific action, but I think you can do it with Set Property (https://www.youtube.com/watch?v=bel6xkUuKqQ).
Title: Re: Set Trail Renderer Material
Post by: LogLady on August 14, 2014, 01:42:54 PM
I already tried the Set Property but I want to do it on an instantiated object that I save in a gameObject var. I couldn't use the Set Property on a var.
Title: Re: Set Trail Renderer Material
Post by: Lane on August 14, 2014, 01:44:01 PM
Use Get Component for instantiations. It's also covered in that video.
Title: Re: Set Trail Renderer Material
Post by: LogLady on August 14, 2014, 02:54:33 PM
It worked! I had to dig thru the object type.

Thanks!  :)
Title: Re: Set Trail Renderer Material
Post by: Lane on August 14, 2014, 03:09:30 PM
Great! =)