I was wondering If theres a feature of unity or a formula for determining the angle needed to face an object. im working on an AI plane fighter and need a way to determine which way it turns while using the LookAt function, but I dont want it to always be facing it, I want it to need to re alinge like an actual person would. is there a way to tell that?
Vector3.Angle gives you the angle between two vectors.
However, if you just want to turn towards something slowly, you can use something like Quaternion.Slerp (i.e. on the plane's transform.rotation).
my lookAt function contains a spped variable to slow it down do you have something or can put something in like that?