playMaker

Author Topic: Set Trail Renderer Material [SOLVED]  (Read 2822 times)

LogLady

  • Full Member
  • ***
  • Posts: 150
Set Trail Renderer Material [SOLVED]
« 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!
« Last Edit: August 14, 2014, 03:09:43 PM by Lane »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Set Trail Renderer Material
« Reply #1 on: August 14, 2014, 12:54:27 PM »
No specific action, but I think you can do it with Set Property.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

LogLady

  • Full Member
  • ***
  • Posts: 150
Re: Set Trail Renderer Material
« Reply #2 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.

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Set Trail Renderer Material
« Reply #3 on: August 14, 2014, 01:44:01 PM »
Use Get Component for instantiations. It's also covered in that video.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

LogLady

  • Full Member
  • ***
  • Posts: 150
Re: Set Trail Renderer Material
« Reply #4 on: August 14, 2014, 02:54:33 PM »
It worked! I had to dig thru the object type.

Thanks!  :)

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Set Trail Renderer Material
« Reply #5 on: August 14, 2014, 03:09:30 PM »
Great! =)
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D