playMaker

Author Topic: Enabling behaviours  (Read 2406 times)

ETGgames

  • Junior Playmaker
  • **
  • Posts: 56
    • ETGgames
Enabling behaviours
« on: August 31, 2015, 04:55:46 PM »
I am trying to enable the mesh renderer of an object if the blink state is off. however, I'm not sure what to put in the behaviour box? I dragged the rendered into the component box, but it isn't working. I tried selecting playmaker fsm in the behaviour box too.

Justin

  • Junior Playmaker
  • **
  • Posts: 58
Re: Enabling behaviours
« Reply #1 on: August 31, 2015, 05:27:09 PM »
Try the 'set property' action instead of behavior.  Not sure if it is the best action to use but it works for me.

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: Enabling behaviours
« Reply #2 on: August 31, 2015, 05:43:10 PM »
I'd just use the Set Visibility action, have you tried that?

ETGgames

  • Junior Playmaker
  • **
  • Posts: 56
    • ETGgames
Re: Enabling behaviours
« Reply #3 on: September 04, 2015, 03:55:52 PM »
The set property action doesn't detect components?? I can't find the mesh render inside the drop down menu for the set property.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Enabling behaviours
« Reply #4 on: September 17, 2015, 01:39:24 AM »
Hi,

 It's because you need to drag the "Mesh Renderer" component itself, not the GameObject, if you want to access "Mesh Renderer" properties:


Bye,

 Jean