UBTDecorator_IsAtLocation

Is At Location decorator node.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Decorators/BTDecorator_IsAtLocation.h

Include

#include "BehaviorTree/Decorators/BTDecorator_IsAtLocation.h"

Syntax

class UBTDecorator_IsAtLocation : public UBTDecorator_BlackboardBase

Remarks

Is At Location decorator node. A decorator node that checks if AI controlled pawn is at given location.

Variables

Name Description

Public variable

float

 

AcceptableRadius

Distance threshold to accept as being at location

Public variable

uint32: 1

 

bPathFindingBasedTest

If true the result will be consistent with tests done while following paths.

Public variable

uint32: 1

 

bUseNavAgentGoalLocation

If moving to an actor and this actor is a nav agent, then we will move to their nav agent location

Public variable

uint32: 1

 

bUseParametrizedRadius

Public variable

FAIDistanceType

 

GeometricDistanceType

Public variable

FAIDataProvider...

 

ParametrizedAcceptableRadius

Constructors

Name Description

Public function

UBTDecorator_IsAtLocation

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function Const

float

 

GetGeometricDistanceSquared

(
    const FVector& A,
    const FVector& B
)

Overridden from UBTDecorator

Name Description

Public function Virtual Const

bool

 

CalculateRawConditionValue

(
    UBehaviorTreeComponent& OwnerComp,
    uint8* NodeMemory
)

Calculates raw, core value of decorator's condition. Should not include calling IsInversed

Overridden from UBTNode

Name Description

Public function Virtual Const

FName

 

GetNodeIconName()

Get the name of the icon used to display this node in the editor

Public function Virtual Const

FString

 

GetStaticDescription()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss