playMaker

Author Topic: Only works after unpausing at the breakpoint!?!  (Read 1492 times)

mekoid

  • Playmaker Newbie
  • *
  • Posts: 36
Only works after unpausing at the breakpoint!?!
« on: January 03, 2015, 09:47:48 AM »
Hi guys,
I was working on a function that when a cube triggers a functional tile (tile A), it moves to the adjacent tile , if the adjacent tile is a plain tile, it works fine, BUT if it's the same Tile A, it doesnt move on the second time.

I debug it and see Playmaker do execute the STATE, BUT somehow nothing changed. Then I toggled the breakpoint on the problem STATE, and unpaused it. And guess what ? then it works!

I cant figure out why. It seems a bug to me.
Please check the attachment for the state flow.
Does anyone have the same problem before? And how can I fix it?!
Much appreciated.

mekoid

  • Playmaker Newbie
  • *
  • Posts: 36
Re: Only works after unpausing at the breakpoint!?!
« Reply #1 on: January 05, 2015, 11:22:12 PM »
Guess no one has any idea...

It's still a mystery to me. If it's the programming logic issue, then it shouldnt work after I unpause the flow...

So weird.... Could it be the Itween's problem? I noticed the 2nd "itween move by" is executed very shortly after the 1st one. Altho I can see PM run the loop twice clearly....
« Last Edit: January 05, 2015, 11:27:29 PM by mekoid »

mekoid

  • Playmaker Newbie
  • *
  • Posts: 36
Re: Only works after unpausing at the breakpoint!?!
« Reply #2 on: January 06, 2015, 08:55:47 AM »
I tried leantween today and it works like a charm !!! so it should be itween's problem?! hmm... do not use itween...