Update the collision checking.