Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: QueenM56 on June 11, 2018, 11:26:53 PM

Title: Unstable trigger 2D event
Post by: QueenM56 on June 11, 2018, 11:26:53 PM
Hi All,

I'm experiencing some problem with trigger 2D event.
I used 3 x 'trigger 2D event' action in one state, the ' on enter' and 'on stay' trigger the same event, when the 'on exist' triggers the other event.
The 'on enter' and 'on stay' work fine, but the 'on exist' is not always working.
Does anyone know what could cause the problem?

Cheers,
M

Title: Re: Unstable trigger 2D event
Post by: djaydino on June 12, 2018, 04:17:36 AM
Hi.

If they trigger the same tags and are on the same state then that is an issue.

If you are using on stay, on enter is not needed.

Place on exit on a different state (for example after the state with on stay trigger)
Title: Re: Unstable trigger 2D event
Post by: QueenM56 on June 13, 2018, 02:29:14 AM
Thanks djaydino,
You are right, I did put them in the same state before. After separate  the 'stay' and 'exist', everything works!

Thank you!
M