Zero/Variable gravity field

Could someone make an entity that can disable local gravity for everything, or maybe some sort of wire entity that can change the gravity to the value wired to it? I kind of remember such a thing existing, years ago, but I can’t find it anywhere and it probably doesn’t work anymore.