change the handling of player collision