Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/UVelocityArrayObservation
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsObservations.h |
| Include | #include "LearningAgentsObservations.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsObservations.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"LearningAgents", Meta&61;&40;DefaultToSelf&61;"InInteractor"&41;&41;
static UVelocityArrayObservation &42; AddVelocityArrayObservation
&40;
ULearningAgentsInteractor &42; InInteractor,
const FName Name,
const int32 VelocityNum,
const float Scale
&41;
Remarks
Adds a new velocity observation to the given agent interactor. Call during ULearningAgentsInteractor::SetupObservations event. The newly created observation.
Parameters
| Name | Description |
|---|---|
| InInteractor | The agent interactor to add this observation to. |
| Name | The name of this new observation. Used for debugging. |
| VelocityNum | The number of velocities in the array. |
| Scale | Used to normalize the data for the observation. |