Vector3 a = Target[0].position - transform.position;
Vector3 b = Target[4].position - transform.position;
float angle = Vector3.Angle(a, b);
print ("andgle= " + angle);
'Computer Language > 유니티' 카테고리의 다른 글
노말 벡터 (0) | 2014.04.29 |
---|---|
두점사이의 길이 margnititude 제곱한 값 sqrMagnitude (0) | 2014.04.29 |
5열종대 헤쳐모여... (0) | 2014.04.29 |
따라다니게 해보자. (0) | 2014.04.29 |
z축으로 전진 잔진 (0) | 2014.04.29 |