Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/USplineComponentHelper
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsHelpers.h |
| Include | #include "LearningAgentsHelpers.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsHelpers.cpp |
UFUNCTION&40;BlueprintPure&61;false, Category&61;"LearningAgents", Meta&61;&40;AgentId&61;"&45;1"&41;&41;
FVector GetDirectionAtDistanceAlongSpline
&40;
const int32 AgentId,
const USplineComponent &42; SplineComponent,
const float DistanceAlongSpline,
const ESplineCoordinateSpace::Type CoordinateSpace
&41; const
Remarks
Gets the direction along a spline at the given distance. The direction at the given distance along the spline.
Parameters
| Name | Description |
|---|---|
| AgentId | The agent id to run the helper for. |
| SplineComponent | The spline component to use. |
| DistanceAlongSpline | The distance along the spline to use. |
| CoordinateSpace | The coordinate space to use for the spline. |