
I need to find the angle between the blue vector and the black vector.
Trying to use the function Vector3.Angle() but i don’t know how to find those 2 vectors.
Tried using *.steeringTarget and *.nextPosition but it didnt work so far.

I need to find the angle between the blue vector and the black vector.
Trying to use the function Vector3.Angle() but i don’t know how to find those 2 vectors.
Tried using *.steeringTarget and *.nextPosition but it didnt work so far.
If anyone was wonderin,
blue vector:
navmesh.steeringTarget-gameObject.transform.position
black vector:
gameObject.transform.forward;