Add default GetSplinePointAtWorld function
This commit is contained in:
parent
3d16e8e24a
commit
beb18734b1
|
@ -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