I have a character that I created in Tiled, and he initially moves to the right or to the left (whichever, the initial orientation is random, since the application is started the character moves constantly). What I need is that when detecting a collision with another object, it automatically...