unreal.BTDecorator_ConeCheck

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

Bases: BTDecorator

Cone check decorator node. A decorator node that bases its condition on a cone check, using Blackboard entries to form the parameters of the check.

C++ Source:

  • Module: AIModule

  • File: BTDecorator_ConeCheck.h

Editor Properties: (see get_editor_property/set_editor_property)

  • cone_direction (BlackboardKeySelector): [Read-Write] “None” means “use ConeOrigin’s direction”

  • cone_half_angle (ValueOrBBKey_Float): [Read-Write] Angle between cone direction and code cone edge, or a half of the total cone angle

  • cone_origin (BlackboardKeySelector): [Read-Write] blackboard key selector

  • flow_abort_mode (BTFlowAbortMode): [Read-Write] flow controller settings

  • inverse_condition (bool): [Read-Write] if set, condition check result will be inversed

  • node_name (str): [Read-Write] node name

  • observed (BlackboardKeySelector): [Read-Write] blackboard key selector