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

Function PathFindDirection

src/game/server/tanktrain.cpp:402–466  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Dumb linear serach of the path Input : *pStart - starting path node &startPosition - starting position &destination - position to move close to Output : int move direction 1 = forward, -1 = reverse, 0 = stop -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ThinkMethod · 0.85

Calls 2

GetLocalOriginMethod · 0.80
LengthSqrMethod · 0.45

Tested by

no test coverage detected