unreal.PoseSearchInteractionAvailability¶
- class unreal.PoseSearchInteractionAvailability(database: PoseSearchDatabase = Ellipsis, roles_filter: None = [], broad_phase_radius: float = 0.0, max_cost: float = 0.0)¶
Bases:
StructBaseinput for MotionMatchInteraction_Pure: it declares that the associated character (AnimInstance) is willing to partecipate in an interction described by a UMultiAnimAsset (derived by UPoseSearchInteractionAsset) contained in the UPoseSearchDatabase Database with one of the roles in RolesFilter (if empty ANY of the Database roles can be taken) the MotionMatchInteraction_Pure will ultimately setup a motion matching query using looking for the pose history “PoseHistoryName” to gather bone and trajectory positions for this character for an interaction to be valid, the query needs to find all the other interacting characters within BroadPhaseRadius, and reach a maximum cost of MaxCost
C++ Source:
Plugin: PoseSearch
Module: PoseSearch
File: PoseSearchInteractionLibrary.h
Editor Properties: (see get_editor_property/set_editor_property)
broad_phase_radius(float): [Read-Write] the associated character to this FPoseSearchInteractionAvailability will partecipate in an interaction only if all the necessary roles gest assigned to character within BroadPhaseRadius centimetersdatabase(PoseSearchDatabase): [Read-Write] Database describing the interaction. It’ll contains multi character UMultiAnimAsset and a schema with multiple skeletons with associated rolesmax_cost(float): [Read-Write] if MaxCost if greater than zero, the associated character to this FPoseSearchInteractionAvailability will not partecipate in an interaction if the motion matching search cost result is higher than MaxCostroles_filter(Array[Name]): [Read-Write] roles the character is willing to take to partecipate in this interaction. If empty ANY of the Database roles can be taken
- property broad_phase_radius: float¶
[Read-Write] the associated character to this FPoseSearchInteractionAvailability will partecipate in an interaction only if all the necessary roles gest assigned to character within BroadPhaseRadius centimeters
- Type:
(float)
- property database: PoseSearchDatabase¶
[Read-Write] Database describing the interaction. It’ll contains multi character UMultiAnimAsset and a schema with multiple skeletons with associated roles
- Type: