언리얼4 기본 프로젝트 카메라 코드 비교
By 박피디의 게임 개발 이야기 | 2021년 9월 24일 |
카메라쪽 작업할 일이 있는데 참고삼아서 언리얼4 기본 프로젝트를 생성했을 때 카메라 코드들을 비교해 둔다. FirstPerson USpringArmComponent 사용하지 않는다.UCameraComponent 은 GetCapsuleComponent() 에 SetupAttachment 한다.USkeletalMeshComponent 는 UCameraComponent 에 SetupAttachment 한다. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25class ACameraCharacter : public ACharacter { UCameraComponent* FirstP