turn on gravity when there is a voxel floor to stand on

Gravity will be enabled when you're hovering about 2m above a voxel floor.

If you fly up fast (more than about 20m/sec) the gravity will be turned off until next floor encounter.

If you have disabled collisions with voxels the gravity should not be enabled -- no need to stand on voxels if you can't collide with them.