/Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Public/LearningAgentsRewards.h
Adds a new planar difference penalty to the given trainer. The axis parameters define the plane. Call duringULearningAgentsTrainer::SetupRewardsevent.
The newly created reward.
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="LearningAgents", Meta=(DefaultToSelf="InAgentTrainer")) static [UPlanarPositionDifferencePenalty](API\Plugins\LearningAgentsTraining\UPlanarPositionDifferencePenalty) * AddPlanarPositionDifferencePenalty ( [ULearningAgentsTrainer](API\Plugins\LearningAgentsTraining\ULearningAgentsTrainer) * InAgentTrainer, const [FName](API\Runtime\Core\UObject\FName) Name, const float Weight, const float Scale, const float Threshold, const FVector Axis0, const FVector Axis1 )