언리얼(Unreal) - AI 시각, 청각


언리얼(Unreal) - AI 시각, 청각

AI에게 시각과 청각을 부여해보는 방법을 알아보겠다. 간단한 테스트이기에 플레이어가 가만히 있는 AI라고 할 경우의 예시이다. 1. 모듈 추가 우선 프로젝트명.Build.cs에 AIModule을 추가한다. 2. 플레이어 코드 // Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/Character.h" #include "PlayerCharacter.generated.h" UCLASS() class TESTPROJECT_API APlayerCharacter : public ACharacter { GENERATED_BODY() public: // Sets default values for this character's properties APlayerCharacter(); protected: ...


#AI #HearNoise #SeePawn #Unreal #시각 #언리얼 #청각

원문링크 : 언리얼(Unreal) - AI 시각, 청각