[NF] Set gravity in runtime.