1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.36 Bug Reporting thread
    Solutions and more information may already be available.

How Can I Set Gravity Precisely?

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by thalamus, Aug 10, 2016.

  1. thalamus

    thalamus
    Expand Collapse

    Joined:
    Jan 28, 2014
    Messages:
    7
    In the days before BeamNG had the polished UI it has today, when I wanted to drive around under Moon gravity, I had to use a console command to set the gravity to 1.62 m/s^2. Then, early in the UI development, in addition to the gravity slider, there was a text box where I could enter a precise value. Is there still a way to set an exact value for gravity? What's the console command?
     
  2. tdev

    tdev
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 3, 2012
    Messages:
    3,085
    I think its easier to set it on theLevel object by now :)
     
  3. thalamus

    thalamus
    Expand Collapse

    Joined:
    Jan 28, 2014
    Messages:
    7
    I've discovered two console commands that might be of interest to y'all. You can precisely set gravity by going into "Vehicle Lua" in the console and typing obj:setGravity(X), where X is a number (negative for normal gravity). There's also obj:setWind(X,Y,Z), where X, Y, and Z are wind speeds along the axes, in meters per second. setWind is handy for simulating nuclear blasts and such. Enjoy!
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice