언리얼C++게임개발/01-1. 4.2->5.2로 에러수정하기 (2) 블로그 내 검색 검색 글쓰기 관리자 썸네일형 리스트형 P470 IsPawnControlled()함수 - 전부 controlledPawn이 됨 void AABCharacter::BeginPlay() { // Changed in 4.21. copied from PostInitializeComponents() Super::BeginPlay(); if (!IsPawnControlled()) { ABLOG(Warning, TEXT("IsNotPawnControlled %s"),*GetName()); auto DefaultSetting = GetDefault(); int32 RandIndex = FMath::RandRange(0, DefaultSetting->CharacterAssets.Num() - 1); CharacterAssetToLoad = DefaultSetting->CharacterAssets[RandIndex]; auto ABGameInst.. 이득우 언리얼 4.52이상 에러수정하기 https://github.com/smarthug/UE4-CPP-Book CHAPTER 6 203p ABCharacter.cpp Tick() From SpringArm->RelativeRotation = FMath::RInterpTo(SpringArm->GetRelativeRotation(), ArmRotationTo, DeltaTime, ArmRotationSpeed) To SpringArm->SetRelativeRotation(FMath::RInterpTo(SpringArm->GetRelativeRotation(), ArmRotationTo, DeltaTime, ArmRotationSpeed)); 204p ABCharacter.cpp ViewChange() From GetController()->Se.. 이전 1 다음