1. public void Rotate(Vector3 eulerAngles);
2. public void Rotate(Vector3 eulerAngles, [DefaultValue("Space.Self")] Space relativeTo);
3. public void Rotate(Vector3 axis, float angle);
4. public void Rotate(Vector3 axis, float angle, [DefaultValue("Space.Self")] Space relativeTo);
5. public void Rotate(float xAngle, float yAngle, float zAngle);
6. public void Rotate(float xAngle, float yAngle, float zAngle, [DefaultValue("Space.Self")] Space relativeTo);
Rotate와 Rotation과의 차이.
Rotate는 정해진 Degree값만큼 회전을 지속적으로 시켜줌.
Rotation은 정해진 값으로 회전을 대입해줌.
'Unity' 카테고리의 다른 글
라이트 설치의 사례 (0) | 2016.01.05 |
---|---|
실시간 텍스쳐 변경(Realtime Change Texturer) (0) | 2016.01.05 |
블럭에 대한 반사 처리 오류 (0) | 2015.12.30 |
Unity 씬전환 (Change Scenes) (0) | 2015.12.24 |
OnCollisionEnter : 충돌체크 (0) | 2015.12.19 |