Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Megisto on April 21, 2012, 12:30:16 PM

Title: Mouse Pick Event Problem
Post by: Megisto 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.
Title: Re: Mouse Pick Event Problem
Post by: Megisto 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.
Title: Re: Mouse Pick Event Problem
Post by: Alex Chouls 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.