My main character is using rigidbody with gravity:
Physics.gravity = new Vector3(0, -gravity, 0);
I’d freezed rotations(I’m using scripts for rotation) because my character was turning round on terrain. Everything works fine, but when my character falls down then it don’t fall down straight but the direction of falling down is the same as direction of transform.rotation so my character can even walk on the ceiling because of the direction of gravity.