Add default GetSplinePointAtWorld function
This commit is contained in:
parent
25c421cc67
commit
275f86b03f
|
@ -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)
|
||||||
|
|
|
@ -28,5 +28,7 @@ public:
|
||||||
|
|
||||||
void IncrementPatrolRoute();
|
void IncrementPatrolRoute();
|
||||||
|
|
||||||
|
FVector GetSplinePointAtWorld();
|
||||||
|
|
||||||
FVector GetSplinePointAtWorld(int pointIndex);
|
FVector GetSplinePointAtWorld(int pointIndex);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue