TIL-22 (Rotations)

jh Seo·2024년 9월 30일

Rotations

회전 관련 세 함수가 있길래 어떤 식으로 동작하나 조사해봤다.
아래 참고링크에 물체의 회전을 gif로 자세히 보여주는 포럼 글이 있다.

AddRelativeRotation

오브젝트의 부모의 축 기준으로 회전한다.

AddLocalRotation

로컬 오브젝트 축 기준으로 회전한다

AddAbsoluteRotation

월드의 좌표계를 기준으로 회전한다.

참고

회전에 대한 포럼 글
https://forums.unrealengine.com/t/what-is-the-difference-between-add-relative-rotation-and-add-local-rotation/1244791/8

profile
코딩 창고!

0개의 댓글