If the point you want to point towards is a rotation vector you can use RotateTowards, I believe.
Quaternion myQuat = Quaternion.Euler(transform.localEulerAngles);
Quaternion targetQuat = Quaternion.Euler(YOURTARGETVECTOR);
while(myQuat!=targetQuat)
{
transform.localRotation = Quaternion.RotateTowards(myQuat, targetQuat, 10.0f);
myQuat = Quaternion.Euler(transform.localEulerAngles)
}
↧