Why Can You Remove the Gravitational Constant in a Game Simulation?
At a glance
- 1. Write the force law
Newtonian gravity depends on G, the masses, and the distance between objects.
- 2. Choose simulation units
Pick convenient reference units for length, mass, and time instead of using SI units.
- 3. Rescale the equation
Choose the time unit so the numerical coefficient corresponding to G becomes one.
- 4. Keep the physics consistent
Convert inputs and outputs consistently; setting G to one does not mean gravity has vanished.
A game does not have to use metres, kilograms, and seconds. By choosing its own units, it can make the number used for the gravitational constant equal to 1. The gravitational interaction has not disappeared: its strength is encoded in the relationship between the game’s units.
There is a second possibility: a game may use a simplified or tuned force law rather than physically accurate Newtonian gravity. In that case, it can omit the symbol and put the desired strength directly into its acceleration or force formula.
Where the constant appears
For two point masses, Newton’s law of gravitation is
where is force, and are the masses, and is their separation. The gravitational constant has dimensions
That dimensional dependence is why the numerical value of changes when you change units. Its value in SI units is about , but this number is not the strength of gravity by itself, independent of the units used to describe it.
How choosing units makes G equal to 1
Suppose the game measures length in units of , mass in units of , and time in units of . Write physical quantities as
where the primed quantities are the numbers used inside the simulation. Newton’s equation of motion can then be written in those units with a dimensionless coefficient
Choose the time unit to satisfy
Then . The game can use the simpler-looking equation without a separate numerical factor, as long as it uses these units consistently.
This is a standard form of nondimensionalization: rescale the variables so the equations contain fewer numerical constants. It does not change the underlying physical model.
A worked example
Imagine a simulation whose length unit is and whose mass unit is . Using the SI value of , the time unit that sets is
So one unit of game time is about 1,224 seconds, or 20.4 minutes. In this system, an object with a game mass of 1 has physical mass , and a game distance of 1 represents 100 metres. The numerical gravitational coefficient is 1, but the simulation still describes the same Newtonian interaction under those conversions.
In a real game, developers often choose scales for convenience rather than matching a particular physical system. They may also use a tunable parameter such as gravityStrength instead of implementing physical and realistic masses. That can produce playable motion without representing actual gravitational dynamics.
What “removing G” does not mean
You cannot simply delete from the SI force equation while leaving the masses, distances, and seconds unchanged. The result would have the wrong units and, in general, the wrong force. If you keep SI inputs, you need the SI value of or an equivalent coefficient that gives the same effect.
Likewise, writing is a convention about units, not a claim that the measured constant is physically meaningless. A dimensional constant’s numerical value depends on the units used. Dimensionless quantities, by contrast, cannot be made equal to 1 merely by changing units.
Common mistakes
- Thinking gravity has been switched off. In a rescaled equation, gravity is still acting; the coefficient has been absorbed into the units.
- Changing only the displayed value of G. If the units are unchanged, replacing the SI value by 1 changes the model rather than merely simplifying it.
- Confusing real gravity with a game’s gravity setting. A game parameter may control a deliberately exaggerated or simplified acceleration. It need not equal Newton’s gravitational constant.
- Ignoring the rest of the simulation. Masses, distances, velocities, elapsed time, and any other forces must use compatible units for the model to behave as intended.
References
- Classical Mechanics, John R. Taylor
- NIST CODATA: Fundamental Physical Constants
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.