On a popular subject, I know.
This time around I can´t simplify things by using transofrm rotation since I am actually trying to rotate the gravity Vector.
I have been trying to do
rotQuat=Quaternion.Euler(x_Rot,0,z_Rot);
Physics.gravity*=rotQuat;
And it kind of works, althoug i get a compilation error
"opeator “*” cannot be applied to operands of type UnityEngine.Vector3 and UnityEngine.Quaternion
what would be a decent way to rotate gravity, similar to
targetcontrol.transform.Rotate (z_move, 0, y_move) for GameObjects?
TIA