change collision detection function still needs more work as it is just for the player car at the moment