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

Function UTIL_ScaleForGravity

src/game/server/util.cpp:1796–1800  ·  view source on GitHub ↗

computes gravity scale for an absolute gravity. Pass the result into CBaseEntity::SetGravity()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

SpawnMethod · 0.85
SpawnMethod · 0.85
SpawnMethod · 0.85
SpawnMethod · 0.85
SpawnMethod · 0.85
SpawnMethod · 0.85
FlareTouchMethod · 0.85
Event_KilledMethod · 0.85
Chopper_CreateChunkFunction · 0.85
SpawnMethod · 0.85
StartTaskMethod · 0.85
SpawnMethod · 0.85

Calls 1

GetCurrentGravityFunction · 0.85

Tested by

no test coverage detected