Quaternion.Euler not working in unity code example
Example: Quaternion.Euler not working in unity
Quaternion initialRot = objToRotate.transform.rotation;
objToRotate.transform.rotation = initialRot * Quaternion.Euler(90f, 0, 0);
Quaternion initialRot = objToRotate.transform.rotation;
objToRotate.transform.rotation = initialRot * Quaternion.Euler(90f, 0, 0);