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

Function VecCheckToss

src/game/server/h_ai.cpp:78–184  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Returns the correct toss velocity to throw a given object at a point. Like the other version of VecCheckToss, but allows you to filter for any number of entities to ignore. Input : pEntity - The object doing the throwing. Is *NOT* automatically included in the filter below. pFilter - A trace filter of entities

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

Weapon_DropMethod · 0.85
ThrowObjectMethod · 0.85
CheckCanThrowGrenadeMethod · 0.85
VehicleLeapAttackMethod · 0.85
JumpToBurrowHintMethod · 0.85
TossHealthKitMethod · 0.85

Calls 8

GetCurrentGravityFunction · 0.85
AngleVectorsFunction · 0.85
UTIL_TraceLineFunction · 0.85
UTIL_TraceHullFunction · 0.85
GetLocalAnglesMethod · 0.80
VectorClass · 0.70
RandomFloatMethod · 0.45
LengthMethod · 0.45

Tested by

no test coverage detected