FActorPerceptionInfo::GetReceiverLocation

Retrieves receiver location of the last sense stimuli for a given sense

Choose your operating system:

Windows

macOS

Linux

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/Perception/AIPerceptionComponent.h

Include

#include "Perception/AIPerceptionComponent.h"

Syntax

FVector GetReceiverLocation
(
    FAISenseID Sense
) const

Remarks

Retrieves receiver location of the last sense stimuli for a given sense

Returns

Location of the receiver for the last sensed stimuli or FAISystem::InvalidLocation if given sense has never registered related Target actor or last stimuli has expired.

Parameters

Parameter

Description

Sense

The AISenseID of the sense