Implemented directional Collision