Answers for "How can I get Rigidbody.MoveRotation to rotate in world space on two axes?"
http://answers.unity.com/questions/1346346/how-can-i-get-rigidbodymoverotation-to-rotate-in-w.html
The latest answers for the question "How can I get Rigidbody.MoveRotation to rotate in world space on two axes?"Answer by AdamAlexander
http://answers.unity.com/answers/1346414/view.html
When you use euler rotations unity applies the rotations in the order z, x, y. So rotating by z is also rotating the local x axis. To get the behaviour you want you'll need something like this:
var xRot = Quaternion.AngleAxis(tempRotationEval.x, Vector3.right);
var zRot = Quaternion.AngleAxis(tempRotationEval.y, xRot * Vector3.forward);
this.RigidBody.MoveRotation(xRot * zRot);
I think that should do the trick. You may need to swap Vector3.right to Vector3.left, or Vector3.forward to Vector3.backward but that is the gist of it.Fri, 28 Apr 2017 05:00:03 GMTAdamAlexander