[AS Help] Central Gravity

Okie dokieee, I’m new to the whole math/physics side of flash and I’m slowly learning about sin,cos,tan and the rest of it, but I’m still very much so a begginer. So here’s what I’m trying to create, a dude that cab walk around a “tiny world” and the gravity from the center of the “world” keeps him rotated and positioned accordingly.

I don’t really know where to begin, so any help would be appreciated. Cheers.