-
My guess is that it lets the bounce action override the set direction action, even though we do the bounce action before we set the direction. I don't know if it is intended or if it really is a bug.
-
Well, if the bounce action could override the set direction action, then likewise the equation you use to calculate the set direction action would be still be trumped by bounce. I'm really stumped by this.
-
No, since we run the calculation always, even after the bounce has long finished.
It will be something like this:
On collision: Bounce and Set direction
Always: Correct direction
-
Ah... that's true. I missed that. Good solve for a weird problem! I'll tuck that away if I ever need it. Might be useful in some overhead dungeon crawlers.