unity get quaternion between two vectors code example
Example 1: get angle between two vectors unity
Vector3 targetDir = target.position - transform.position;
float angle = Vector3.Angle(targetDir, transform.forward);
Example 2: vector between two points unity
Vector3 newVector = targetPoint - initialPoint;