playMaker

Author Topic: Mouse Pick Event Problem  (Read 3096 times)

Megisto

  • Playmaker Newbie
  • *
  • Posts: 28
Mouse Pick Event Problem
« on: April 21, 2012, 12:30:16 PM »
Hello, i am experiencing this problem.

I am trying to set materials by clicking on different object. I use Mouse Pick Event, wehen a specific object is clicked the transition toward the "set material" State is sended. Then i added a Finished transition to back to "choose color" status.

The problem is the it never come back to "Choose color". I click, the material is set correctly, but then it stay there. I tryed also with "send event" instead of FINISHED, but it does not work.

Megisto

  • Playmaker Newbie
  • *
  • Posts: 28
Re: Mouse Pick Event Problem
« Reply #1 on: April 21, 2012, 12:57:04 PM »
Ok i just added an "intermediate" between the set color state and the "choose color" state in which i tell Playmaker to wait 0.1 secs. And it works now.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Mouse Pick Event Problem
« Reply #2 on: April 21, 2012, 02:01:16 PM »
Instead of a wait state, try using Next Frame Event. This will wait till the next frame, then send an event.