This article's documentation is for anything that uses the Source engine. Click here for more information.

Sv gravity: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (redir)
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
#redirect [[Gravity]]
{{this is a|console variable|name=sv_gravity}} This can be used to set the gravity affecting all players and objects in game. Syntax: {{code|sv_gravity <int>}}
Running this command instantly changes gravity for players but the level has to be reloaded for this change to affect physics objects.
==See also==
* [[Gravity]]

Latest revision as of 05:27, 3 September 2024

sv_gravity is a console variable available in all Source Source games. This can be used to set the gravity affecting all players and objects in game. Syntax: sv_gravity <int> Running this command instantly changes gravity for players but the level has to be reloaded for this change to affect physics objects.

See also