Make Unreal REAL.
article thumbnail
이득우의 언리얼 C++ 게임 개발의 정석

 

IWYU 방식을 사용하는 경우 다음과 같이 부모 컴포넌트 혹은 루트 컴포넌트 지정이 안 될 때가 있다.

 

 

 

Cannot set the root component to another component

I seem to have an understanding why there is a problem, The RootComponent is a USceneComponent type, and the CapsuleComp is a UCapsuleComponent, so trying to set one to the other doesn’t seem to work. Do I need to somehow change the root type or is it so

community.gamedev.tv

해당 컴포넌트의 헤더를 포함시켜 주면 된다.

 

'Unreal Engine > 이득우의 언리얼 C++ 게임 개발의 정석' 카테고리의 다른 글

Axis 매핑의 Scale  (0) 2023.03.04
캐릭터 클래스  (0) 2023.03.04
애니메이션 재생  (0) 2023.03.03
FObjectFinder, LoadObject  (0) 2023.03.03
애니메이션 에셋 임포트  (0) 2023.03.03
profile

Make Unreal REAL.

@diesuki4

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!

검색 태그