Mesh gravity attractor.

Hi all, i’m trying to get a simple attractor from a closed mesh, not like a plane but like any other model.

My goal is to move an object like an ant can do walking in you or any other scene that can do it. Another example can be a vehicle running on an irregular ring planet…

What is the best practice to achieve that?

LOL…that was the “best” answer? “look at the physics section of Unity”…ummmmm…and how about explaining how to actually DO IT??? Are people getting points for “best answer” or something?

I don’t think there’s any built in methods for this, but what you could do is to have the whole scene rotate as you walk over the mesh, based on the character’s position and direction.

Otherwise, you’d have to either use this:

Or, you could just turn gravity off for all rigidbodies and manually script a new gravity script to be placed on an object that would pull things toward it, at the closest possible point.

This might also be helpful: