make text_physics.lua reflect recent physics API change