diff --git a/.gitignore b/.gitignore index 8ec3e970..031b6393 100644 --- a/.gitignore +++ b/.gitignore @@ -75,7 +75,7 @@ Plugins/*/Intermediate/* DerivedDataCache/* # Art Resource Folder -/Content/D1Art +/Content/D1Art/* #Rider .idea/ diff --git a/README.md b/README.md index a9c44d00..b49caf59 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,14 @@ # D1 -D1 Project -for DChone \ No newline at end of file +**D1 Project** for DChone +
+이 프로젝트 구동을 위해서는 SVN 파일도 받아야 함 +

+ +![Alt text](README_01.png) +
다음 폴더처럼 Content/D1Art를 생성한 뒤 Checkout +
+
**\**
+주소 : https://svn.dcstore.synology.me/svn/D1Art +
**ID** : guest +
**Pass** : guest123 diff --git a/README_01.png b/README_01.png new file mode 100644 index 00000000..384d02a0 Binary files /dev/null and b/README_01.png differ diff --git a/Source/D1/AI/BehaviorTreeNodes/T_FindNextPatrolPoint.cpp b/Source/D1/AI/BehaviorTreeNodes/T_FindNextPatrolPoint.cpp index 5542af4d..82a65b1b 100644 --- a/Source/D1/AI/BehaviorTreeNodes/T_FindNextPatrolPoint.cpp +++ b/Source/D1/AI/BehaviorTreeNodes/T_FindNextPatrolPoint.cpp @@ -56,10 +56,13 @@ bool UT_FindNextPatrolPoint::SetPathLocation() return false; FVector targetLocation = ControlledMasterAI->GetPatrolPoints()[PatrolIndex]->GetActorLocation(); FNavLocation outLocation; - navSystem->ProjectPointToNavigation(targetLocation, outLocation); - BlackboardComponent->SetValueAsVector(BlackboardKey_TargetLocation.SelectedKeyName, outLocation.Location); - - return true; + if(navSystem->ProjectPointToNavigation(targetLocation, outLocation)) + { + BlackboardComponent->SetValueAsVector(BlackboardKey_TargetLocation.SelectedKeyName, outLocation.Location); + return true; + } + else + return false; } void UT_FindNextPatrolPoint::IncrementPathIndex()