Gravity in Unity assumes that your game is running on a flat terrain. So typically the ground is in the xz plane, and gravity is acting in a negative y axis. You're using a terrain that is 6-sided on a cube. You will need to adjust the gravity direction each time your character moves from one cube side to another.
↧