This adds a z position check to the collision check that controls the reversing swinging door behavior.