Player takes damage when colliding with boxes