Navigation
API > API/Plugins > API/Plugins/PoseSearch > API/Plugins/PoseSearch/UPoseSearchInteractionLibrary
Description
Function publishing this character (via its AnimInstance) FPoseSearchInteractionAvailability to the UPoseSearchInteractionSubsystem, FPoseSearchInteractionAvailability represents the character availability to partecipate in an interaction with other characters for the next frame. that means there will always be one frame delay between publiching availabilities and getting a result back from MotionMatchInteraction_Pure!
if FPoseSearchBlueprintResult has a valid SelectedAnimation, this will be the animation assigned to this character to partecipate in this interaction. additional interaction properties, like assigned role, SelectedAnimation time, SearchCost, etc can be found within the result ContinuingProperties are used to figure out the continuing pose and bias it accordingly. ContinuingProperties can reference directly the UMultiAnimAsset or any of the roled UMultiAnimAsset::GetAnimationAsset, and the UPoseSearchInteractionSubsystem will figure out the related UMultiAnimAsset PoseHistoryName is the name of the pose history node used for the associated motion matching search if bValidateResultAgainstAvailabilities is true, the result will be invalidated if doesn't respect the new availabilities
| Name | MotionMatchInteraction_Pure |
| Type | function |
| Header File | /Engine/Plugins/Animation/PoseSearch/Source/Runtime/Public/PoseSearch/PoseSearchInteractionLibrary.h |
| Include Path | #include "PoseSearch/PoseSearchInteractionLibrary.h" |
| Source | /Engine/Plugins/Animation/PoseSearch/Source/Runtime/Private/PoseSearchInteractionLibrary.cpp |
UFUNCTION (Experimental, BlueprintPure, Category="Animation|Pose Search",
Meta=(BlueprintThreadSafe))
static FPoseSearchBlueprintResult MotionMatchInteraction_Pure
(
TArray < FPoseSearchInteractionAvailability > Availabilities,
const UObject * AnimContext,
FName PoseHistoryName,
bool bValidateResultAgainstAvailabilities
)