UTIL ScaleForGravity

From Valve Developer Community
Revision as of 12:29, 9 August 2021 by Amicdict (talk | contribs) (Created page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A UTIL function that returns the passed gravity in relation to the world gravity (more specifically desiredGravity / (sv_gravity * TFGameRules()->GetGravityMultiplier()(only in Team Fortress 2)).

Usage

float UTIL_ScaleForGravity( float desiredGravity )

Examples

Todo: Add examples.