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

Function UTIL_PredictedPosition

src/game/server/util.cpp:2337–2390  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Get the predicted postion of an entity of a certain number of seconds Use this function with caution, it has great potential for annoying the player, especially if used for target firing predition Input : *pTarget - target entity to predict timeDelta - amount of time to predict ahead (in seconds) &vecPredictedP

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 14

LeadTargetMethod · 0.85
PreThinkMethod · 0.85
VehicleLeapAttackMethod · 0.85
CheckGroundAttackMethod · 0.85
StartCannonBurstMethod · 0.85
MakeNPCMethod · 0.85
HandleAnimEventMethod · 0.85
ShouldJumpMethod · 0.85

Calls 7

ToBasePlayerFunction · 0.70
IsInAVehicleMethod · 0.45
GetSmoothedVelocityMethod · 0.45
GetVehicleEntityMethod · 0.45
GetAbsOriginMethod · 0.45

Tested by

no test coverage detected