마우스를 클릭하여 캐릭터를 이동시키는 방법을 알아보겠다. 0. 모듈 추가 AIModule과, NavigationSystem을 프로젝트명.Build.cs에서 추가해준다. 1. 키 매핑 오른쪽 마우스 버튼을 누르면 이동하도록 키를 설정한다. 2. 플레이어 컨트롤러 클래스 생성 // Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/PlayerController.h" #include "MyPlayerController.generated.h" /** * */ UCLASS() class TEST_API AMyPlayerController : public APlayerController { GENERATED_BODY() public: AMyPlayerController(); }; // Fill out...
#언리얼
#SetInputMode
#Unreal
#마우스
#이동
#클릭
원문링크 : 언리얼(Unreal) - 마우스 클릭 이동(SetInputMode)