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
(sv_gravity command deserves its own page)
Tag: Removed redirect
No edit summary
 
Line 1: Line 1:
{{this is a|console command|name=sv_gravity}} This can be used to set the gravity affecting all players and objects in game. Syntax: {{code|sv_gravity <int>}}
{{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.
Running this command instantly changes gravity for players but the level has to be reloaded for this change to affect physics objects.
==See also==
==See also==
* [[Gravity]]
* [[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