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

Method UpdateOrientationAtPathTracks

src/game/server/trains.cpp:2070–2116  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Adjusts our angles as we hit each path track. This is for support of trains with wheels that round corners a la HL1 trains. FIXME: move into path_track, have the angles come back from LookAhead -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

VectorAnglesFunction · 0.85
FixupAnglesFunction · 0.85
LookAheadMethod · 0.80
GetOrientationTypeMethod · 0.80
GetOrientationMethod · 0.45

Tested by

no test coverage detected