Dynamic gravity for characters

i need help plz

i want to have a planet and my character can run on it how do i do that with ninja

thx