Add default GetSplinePointAtWorld function

This commit is contained in:
baz 2024-02-09 18:22:12 +00:00
parent 25c421cc67
commit 275f86b03f
2 changed files with 6 additions and 1 deletions

View File

@ -24,8 +24,11 @@ void APatrolRoute::IncrementPatrolRoute()
} }
PatrolIndex += Direction; PatrolIndex += Direction;
}
FVector APatrolRoute::GetSplinePointAtWorld()
{
return GetSplinePointAtWorld(PatrolIndex);
} }
FVector APatrolRoute::GetSplinePointAtWorld(int pointIndex) FVector APatrolRoute::GetSplinePointAtWorld(int pointIndex)

View File

@ -28,5 +28,7 @@ public:
void IncrementPatrolRoute(); void IncrementPatrolRoute();
FVector GetSplinePointAtWorld();
FVector GetSplinePointAtWorld(int pointIndex); FVector GetSplinePointAtWorld(int pointIndex);
}; };