How do we give absolute angles for orientation to a GameObject ?

Hi Friends,

How do we give absolute angles for orientation to a GameObject ?

Regards,
vanhouten777.

gameObject.rotation = Quaternion.Euler(xRotation, yRotation, zRotation);

the rotations are axis rotation and are in degrees

Hi stridervan,

Thank you for the reply.

Regards,
vanhouten777.

Hi,

How do we get absolute angles when we have the look, right and up vectors of a gameobject?

Regards,
vanhouten777.