유니티

transform.Right, Vector3.Right

tose33 2021. 5. 16. 12:43

Vector3.Right은 word space에서의 오른쪽을 나타낸다.

즉 항상 (1,0,0)을 나타내는 상수값이다. 

 

transform.forward, transform.up

transform.Right 은 오브젝트가 갖는 local 방향을 나타낸다.

즉 오브젝트의 방향이 바뀌면 바뀌는 값이다.