At the moment I have an object using Ball behavior with a deceleration, and every time the object comes to a complete stop it will change direction to either right or left depending on which is closer to its angle of motion (e.g. if object was moving northeast, it'll face right when it comes to a halt; if it was moving northwest, it'll face left). Maybe I'm missing something really obvious here but how do I make it so the object retains the angle it was facing before it came to a complete stop? Why does it switch to right/left at all?
Develop games in your browser. Powerful, performant & highly capable.