unity roate towards position code example
Example: unity rotate towards
Quaternion.RotateTowards(Quaternion from, Quaternion to, float maxDegreesDelta);
Quaternion.RotateTowards(Quaternion from, Quaternion to, float maxDegreesDelta);