Hi,
I have a script that updates the rotation of weapon gameobject.
this is what I have in my script :
m_Weapon.transform.localRotation = new Quaternion(346.4452f, 159.1398f, 276.7879f, 1);
But when I start the game, what I see in the inspector is this:
X : 336.8104
Y : 109.688
Z : 147.1012
WTF???
I’m pretty sure that there is only one script that controls the rotation of the weapon.
what I have done wrong???
Thanks