Don't repeat check for non-zero collision groups
Enable local gravity when there is a floor nearby.