The question is answered, right answer was accepted
Why my gravity direction is rotating with transform.rotation?
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.
Answer by szneqz · Apr 02, 2017 at 02:36 PM
Finally! I've found the solution. It was the problem with 'Apply Root Motion' option in Animator settings. That should be unchecked. That's all...
Follow this Question
Related Questions
Physics for ball on an incline: rolling up a hill if half way up 1 Answer
WheelCollider: Car on boat. Car is pushing boat. CAUSE: WheelCollider (Suspension?) 0 Answers
Start falling through ground in one frame and in the next frame everything is good. 0 Answers
Is it possible to change gravity for only one object? 1 Answer