How do you change the direction of gravity?

I’m looking to make a multiplayer game where each player has they own gravity. For instance; player 1 walks on the floor, while player 2 walks on the ceiling. but I just can’t seem to find out how to change the direction of gravity for any particular character. Any help is appreciated.

What you need to do is disable the world gravity.

Instead, you have a gravity Vector3 in a script for each object. In the FixedUpdate callback you add that Vector as force to your rigid body