rotate object to target rotation code example
Example: unity rotate towards
Quaternion.RotateTowards(Quaternion from, Quaternion to, float maxDegreesDelta);
Quaternion.RotateTowards(Quaternion from, Quaternion to, float maxDegreesDelta);