[박치영] 코드 리팩토링 및 Readme 수정

main
pcyoung 2024-01-04 12:12:07 +09:00
parent 4fdcea8a18
commit 1d5872ed8e
3 changed files with 19 additions and 6 deletions

View File

@ -1,4 +1,14 @@
# D1
D1 Project
for DChone
**D1 Project** for DChone
</br>
이 프로젝트 구동을 위해서는 SVN 파일도 받아야 함
</br></br>
![Alt text](README_01.png)
</br>다음 폴더처럼 Content/D1Art를 생성한 뒤 Checkout
</br>
</br>**\<SVN 정보>**</br>
주소 : https://svn.dcstore.synology.me/svn/D1Art
</br>**ID** : guest
</br>**Pass** : guest123

BIN
README_01.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -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()