public void SetAngle(float yaw, float pitch) { m_InitialRotation = Vector3.zero; // forget about initial rotation set in editor m_Yaw = yaw; m_Pitch = -pitch; }