Finally made collision work properly with front and top using velocities