UTIL ScaleForGravity

From Valve Developer Community
Revision as of 13:11, 9 August 2021 by Amicdict (talk | contribs) (Category.)
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.