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

Method GetForceVector

src/game/server/CRagdollMagnet.cpp:114–154  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Get the force that we should add to this NPC's ragdoll. Input : *pNPC - Output : Vector NOTE: This function assumes pNPC is within this magnet's radius. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

Event_KilledMethod · 0.80
BecomeRagdollMethod · 0.80
OnKilledMethod · 0.80
OnKilledMethod · 0.80
OnKilledMethod · 0.80

Calls 8

MsgFunction · 0.85
WorldSpaceCenterMethod · 0.80
VectorNormalizeFunction · 0.50
GetBoolMethod · 0.45
VPhysicsGetObjectMethod · 0.45
GetMassMethod · 0.45
GetClassnameMethod · 0.45

Tested by

no test coverage detected