make a rigidbody2D rotate towards gravity?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By a human

I was wondering how I would make a rigidbody2d automatically rotate towards any gravity field it enters (gravity as an area2d with point gravity). Is this possible, and can I make it automatic and not have to specify the bodies to rotate for?