setfocus

[Unreal_C++_DarkSoul]#10_AIController AI의 행동 방식을 정의하는 과정에서 발생한 문제를 해결합니다. Unreal 포트폴리오 작업 과정을 기록합니다. Overview 문제 해결 문제 1. AIController::Tick() void AAIC_CastleKnight::Tick(float DeltaSeconds) { Super::Tick(DeltaSeconds); SetFocus(PlayerPawn); MoveToActor(PlayerPawn, 100.f); if (UKismetMathLibrary::Distance2D(FVector2D(GetPawn()->GetActorLocation()), FVector2D(PlayerPawn->GetActorLocation())) < 2..
[Unreal]#14_AI controller 생성 및 세팅 Unreal 개발 중 "AI Controller"에 대해 알아보겠습니다. "Simple Shooter Game"의 AI Player 개발 내용입니다. AI Controller 클래스 1. AI Controller 클래스 생성 1. 우 클릭 -> 새로운 C++ 클래스 생성 2. 모든 클래스 -> AIController를 부모 클래스로 설정 2. C++ 클래스를 상속하는 블루프린트 클래스 생성 1. 우 클릭 -> 블루 프린트 클래스 생성 2. 부모 클래스로 앞서 생성한 AI 클래스(C++)를 부모 클래스로 설정합니다. 3. Auto Possess AI 지정 1. Character 블루프린트 에디터 창 2. Pawn 탭에 있는 "Auto Posses..
Hardii2
'setfocus' 태그의 글 목록