Additive and stacked?
happygfish
Member Posts: 60
what is the difference between the additive and stacked options when using the move behavior?
Best Answer
-
Socks London, UK.Posts: 12,822
Additive will add values together - so two Additive Move behaviours set on 150 will see your actor move at 300 pps - whereas Stacked will take the lower value in the stack of code (the lowest code element reading from top to bottom) and use that, so if you have (reading top to bottom) a Stacked Move at 27, a Stacked Move at 200 and a Stacked Move at 123, your actor will move at 123 pps.
. . . . . . . . . . . . .
Move 100 - additive
Move 200 - additive
Move 90 - additiveResult = the actor moves at 390 pps
. . . . . . . . . . . . .
Move 100 - stacked
Move 200 - stacked
Move 90 - stackedResult = the actor moves at 90 pps