Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/UProjectionHelper
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;
FTransform ProjectTransformOntoGroundPlane
&40;
const int32 AgentId,
const FTransform Transform,
const FVector LocalForwardVector
&41; const
Remarks
Projects a transform onto the zero height ground plane resulting in translation only in XY and rotation only around the Z. The transform projected onto the ground plane.
Parameters
| Name | Description |
|---|---|
| AgentId | The agent id to run the helper for. |
| Transform | The transform to project. |
| LocalForwardVector | The local forward direction. |