반응형
엑터 위치를 가져오는 세 가지 방법
1.
FTransform ActorTransform = GetTransform();
ActorTransform.GetLocation();
2.
GetTransform().GetLocation();
3.
GetActorLocation();
FVector의 변수는 X, Y, Z 총 세 개의 변수가 있다.
참조 : FVector | Unreal Engine Documentation
반응형
'Unreal Engine 4 > Unreal Engine 4' 카테고리의 다른 글
| GitHub Clone을 이용한 연결 (0) | 2022.03.04 |
|---|---|
| USceneComponent : position을 저장하는 방식 (0) | 2022.01.14 |
| PROPERTY와 STRUCT, ENUM (0) | 2022.01.11 |
| Unreal Engine 4 - 게임 프레임워크 (0) | 2021.07.13 |
| Unreal Engine 4 - 주요 이벤트 함수 (0) | 2021.07.12 |