[박치영] 코드 리팩토링 및 Readme 수정
parent
4fdcea8a18
commit
1d5872ed8e
14
README.md
14
README.md
|
@ -1,4 +1,14 @@
|
|||
# D1
|
||||
|
||||
D1 Project
|
||||
for DChone
|
||||
**D1 Project** for DChone
|
||||
</br>
|
||||
이 프로젝트 구동을 위해서는 SVN 파일도 받아야 함
|
||||
</br></br>
|
||||
|
||||

|
||||
</br>다음 폴더처럼 Content/D1Art를 생성한 뒤 Checkout
|
||||
</br>
|
||||
</br>**\<SVN 정보>**</br>
|
||||
주소 : https://svn.dcstore.synology.me/svn/D1Art
|
||||
</br>**ID** : guest
|
||||
</br>**Pass** : guest123
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue