MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / FindEntityNearestFacing

Method FindEntityNearestFacing

src/game/server/entitylist.cpp:1076–1112  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Find the nearest entity along the facing direction from the given origin within the angular threshold (ignores worldspawn) Input : origin - facing - threshold - -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

FindPickerEntityFunction · 0.45

Calls 6

DevWarningFunction · 0.85
WorldSpaceCenterMethod · 0.80
FStrEqFunction · 0.70
VectorNormalizeFunction · 0.50
DotProductFunction · 0.50
edictMethod · 0.45

Tested by

no test coverage detected