unreal.MassLookAtTargetTrait¶
- class unreal.MassLookAtTargetTrait(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
MassEntityTraitBaseMass Look at Target Trait
C++ Source:
Plugin: MassAI
Module: MassAIBehavior
File: MassLookAtTargetTrait.h
Editor Properties: (see get_editor_property/set_editor_property)
priority(MassLookAtPriority): [Read-Write] Priority assigned to the target to influence target selectionshould_use_capsule_component_to_set_target_offset(bool): [Read-Write] Indicates whether the trait will use an initializer to set target offset using the height of the capsule component if available.