Pawn 이 안먹힐 때

Programming/UE4 2017. 3. 12. 23:18

Hello devel! I didn't have any other feedback on this problem. But I find two ways to solve this problem.

  1. The clean way:After creating your your new game mode double click on it to open it in the editor, set the desired default pawn class and hit compile and save (then change your game mode in the world seeting). But their is still a problem with this method, when your character spawn it will always face the opposite direction of the Player start caspusle (the blue arrow).

  2. The quick and (maybe) dirty way:Put your character in your level (where you want it to spawn). In the detail panel search for 'Auto Possess Player' and set it to 'Player 0' (or any other player who will be controlling this pawn).

https://answers.unrealengine.com/questions/436481/impossible-to-set-a-nex-default-pawn-class.html

VR에서 모니터에 화면 하나만 찍기

Programming/UE4 2017. 3. 2. 22:25


console command 

1. HMD mirror mode 0': default

2. HMD mirror mode 1': Undistorted stereo

3. HMD mirror mode 2' : Undistorted single eye

4. 'HMD mirror 960x1080' : sets mirror window to desired dimensions


once you have your package running open the console and type "HMD mirror mode 2" that will enable the monoscopic view you want. You can also add an OnEventBeginPlay node that calls the HMD mirror mode 2 console command when you run the game, that's what I've done to fix this problem.




https://answers.unrealengine.com/questions/219291/enabledisable-oculus-while-game-is-live.html

'Programming > UE4' 카테고리의 다른 글

Pawn 이 안먹힐 때  (0) 2017.03.12
코드 주석이 블루프린트에서 깨질 때  (3) 2017.02.14
Visual Studio 들여쓰기 설정.  (1) 2017.02.11
SpawnActor - Blueprint Class  (0) 2015.11.15
C++ 파일 추가 후 삭제  (0) 2015.11.12

코드 주석이 블루프린트에서 깨질 때

Programming/UE4 2017. 2. 14. 00:41

Visual Studio 파일 - 고급저장옵션 에서

유니코드(서명 있는 UTF-8) - 코드 페이지 65001 로 변경하면 블루프린트에서 한글이 잘 나온다

 

'Programming > UE4' 카테고리의 다른 글

Pawn 이 안먹힐 때  (0) 2017.03.12
VR에서 모니터에 화면 하나만 찍기  (0) 2017.03.02
Visual Studio 들여쓰기 설정.  (1) 2017.02.11
SpawnActor - Blueprint Class  (0) 2015.11.15
C++ 파일 추가 후 삭제  (0) 2015.11.12

Visual Studio 들여쓰기 설정.

Programming/UE4 2017. 2. 11. 18:23

UPROPERTY 입력하고 다음 라인 넘어갈 때 마다 탭이 입력되어 불편하다.

검색해 보니 역시 누군가는 질문 하고 누군가는 답하였군.


To change that go to

Tools->Options->Text Editor->C/C++->Tabs

and change Indenting option to Block. Then go to

Tools->Options->Text Editor->C/C++->Formatting

and uncheck Automatically format braces when they are automatically completed

SpawnActor - Blueprint Class

Programming/UE4 2015. 11. 15. 16:01
 
static FString path(TEXT("/Game/Blueprint/Hexagon/"));	
	FString name;	
	FString strBlue;
	for (const auto& index : terrains)
	{
		name = TEXT("Hexagon");		
		name.Append(FString::Printf(TEXT("%02d"), index));
		name.Append(FString(TEXT("BP")));		
		strBlue = path + name;
		strBlue.Append(TEXT("."));
		strBlue.Append(name);
		strBlue.Append(TEXT("_C"));
		UClass* hexagon = StaticLoadClass(AActor::StaticClass(), NULL, *strBlue);
		FVector Location(index * 100, 0, 0);
		FRotator Rotation(0,0,0);
		if (hexagon != NULL)
		{
			AActor* pInstance =GetWorld()->SpawnActor(hexagon, &Location, &Rotation);
			HexagonsArr.Add(dynamic_cast<ABaseHexagonHC*>(pInstance));
		}		
	}

'Programming > UE4' 카테고리의 다른 글

코드 주석이 블루프린트에서 깨질 때  (3) 2017.02.14
Visual Studio 들여쓰기 설정.  (1) 2017.02.11
C++ 파일 추가 후 삭제  (0) 2015.11.12
가장 중요한 단축키 Shift + F1  (0) 2015.10.31
모바일  (0) 2015.04.06

C++ 파일 추가 후 삭제

Programming/UE4 2015. 11. 12. 22:45

Visual Studio가 설지 되지 않은 사람은 프로젝트를 빌드 할 수가 없다.

C++ 파일 추가 후 삭제 했는데도 프로젝트를 못열어서 찾아봤더니

.uproject 파일이 변경되어 있었다.

 

 

'Programming > UE4' 카테고리의 다른 글

Visual Studio 들여쓰기 설정.  (1) 2017.02.11
SpawnActor - Blueprint Class  (0) 2015.11.15
가장 중요한 단축키 Shift + F1  (0) 2015.10.31
모바일  (0) 2015.04.06
back button  (0) 2015.04.05

가장 중요한 단축키 Shift + F1

Programming/UE4 2015. 10. 31. 21:49

https://docs.unrealengine.com/latest/KOR/Engine/UI/LevelEditor/InEditorTesting/index.html

 

기본적으로 독립형 창에서의 플레이는 게임에 마우스 콘트롤이 자동으로 넘어갑니다. Shift+F1 키를 눌러 마우스 커서 콘트롤을 되찾을 수는 있습니다.

'Programming > UE4' 카테고리의 다른 글

SpawnActor - Blueprint Class  (0) 2015.11.15
C++ 파일 추가 후 삭제  (0) 2015.11.12
모바일  (0) 2015.04.06
back button  (0) 2015.04.05
UMG UButton with Release Event  (0) 2015.03.13

모바일

Programming/UE4 2015. 4. 6. 11:50

'Programming > UE4' 카테고리의 다른 글

C++ 파일 추가 후 삭제  (0) 2015.11.12
가장 중요한 단축키 Shift + F1  (0) 2015.10.31
back button  (0) 2015.04.05
UMG UButton with Release Event  (0) 2015.03.13
UMG  (0) 2015.02.23

back button

Programming/UE4 2015. 4. 5. 17:19

'Programming > UE4' 카테고리의 다른 글

가장 중요한 단축키 Shift + F1  (0) 2015.10.31
모바일  (0) 2015.04.06
UMG UButton with Release Event  (0) 2015.03.13
UMG  (0) 2015.02.23
svn  (0) 2014.11.20

UMG UButton with Release Event

Programming/UE4 2015. 3. 13. 16:35

UMG UButton with Release Event

 

http://www.barisatamer.com/button-with-release-event/

 

 

'Programming > UE4' 카테고리의 다른 글

모바일  (0) 2015.04.06
back button  (0) 2015.04.05
UMG  (0) 2015.02.23
svn  (0) 2014.11.20
Time of Day  (0) 2014.11.03