Navigation
API > API/Plugins > API/Plugins/MassActors
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMassEntityTraitBase
- UMassAgentSyncTrait
- UMassAgentCapsuleCollisionSyncTrait
References
| Module | MassActors |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassActors/Public/MassAgentTraits.h |
| Include | #include "MassAgentTraits.h" |
Syntax
UCLASS&40;BlueprintType, EditInlineNew, CollapseCategories,
Meta&61;&40;DisplayName&61;"Agent Capsule Collision Sync"&41;&41;
class UMassAgentCapsuleCollisionSyncTrait : public UMassAgentSyncTrait
Remarks
The trait initializes the entity with actor capsule component's radius. In addition, if bSyncTransform is true the trait keeps actor capsule component's and entity's transforms in sync.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bSyncTransform |
Overridden from UMassEntityTraitBase
| Type | Name | Description | |
|---|---|---|---|
| void | BuildTemplate
(
FMassEntityTemplateBuildContext& BuildContext, |
Appends items into the entity template required for the trait. |