unreal.MassAgentCapsuleCollisionSyncTrait

class unreal.MassAgentCapsuleCollisionSyncTrait(outer: Object | None = None, name: Name | str = 'None')

Bases: MassAgentSyncTrait

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.

C++ Source:

  • Plugin: MassGameplay

  • Module: MassActors

  • File: MassAgentTraits.h

Editor Properties: (see get_editor_property/set_editor_property)

  • sync_direction (MassTranslationDirection): [Read-Write]

  • sync_transform (bool): [Read-Write]