Location1 [Unreal] Location 액터의 위치이동과 관련된 메소드들을 소개한다. GetOwner -> GetActorLocation() : 컴포넌트를 가지고 있는 액터의 location을 FVector 형태로 반환한다. FVector::Distance( Vector1, Vector2 ) : 두 백터 사이의 거리를 부동소수 형태로 반환한다. FMath:VInterpConstantTo(CurrentLocation, TargetLocation, DeltaTime, Speed) : 물체를 이동할 때, 다음 프레임에서의 위치를 계산할 때 사용한다. GetOwner -> SetActorLocation(FVector) : 액터를 입력받은 좌표로 이동시킨다. 2025. 2. 20. 이전 1 다음 반응형