I'm trying to do a collision with two entities in movement, when the entities are in the same direction, the collision occurrs normally, but, when the entities are in the inverse direction ( Like this: entity1 ---> <---entity2 ) the entities not collide, how I do this work?