Does GS run behaviors in layer order?
maybe a dumb question.
I know GS fires off it's behaviors in a top to bottom fashion in an Actor.
But in what order does it do the behaviors of actors - is it in scene order?
This cropped up while I was trying to do a magnitude value on two actors (constrained to touch 1 and 2) and then taking the magnitude value and doing some expressions on it.
I found I was getting unexpected values - it supposed to give me a 0 value when both finger touched the screen - but I found it would randomly blurt out the actually magnitude rather than the tweaked value i was after. anyway long story short - I put a .1 second delay on the expression and it magically worked - which I assume I was just sending to be the last behavior to trigger.
I know GS fires off it's behaviors in a top to bottom fashion in an Actor.
But in what order does it do the behaviors of actors - is it in scene order?
This cropped up while I was trying to do a magnitude value on two actors (constrained to touch 1 and 2) and then taking the magnitude value and doing some expressions on it.
I found I was getting unexpected values - it supposed to give me a 0 value when both finger touched the screen - but I found it would randomly blurt out the actually magnitude rather than the tweaked value i was after. anyway long story short - I put a .1 second delay on the expression and it magically worked - which I assume I was just sending to be the last behavior to trigger.
Comments