Issue with Gravity

Discussion in 'Content Creation' started by DuneWulff, May 9, 2016.

  1. DuneWulff

    DuneWulff
    Expand Collapse

    Joined:
    Apr 25, 2016
    Messages:
    1,034
    So I'm creating a map based around driving on an asteroid floating through space, but I'm having a bit of an issue.
    Whenever I go into the map editor and change the default gravity of the world to -1, nothing happens. I can save and exit out of the editor, and the gravity will still be the Earth's -9.8.
    I've tried everything I can think of but the gravity always resets itself to -9.8.

    I've exited out of the map and opened it again, but no difference.
    I've edited the gravity value in the .mis file itself, but that has no effect either.
    Saving the settings and exiting the world editor seems to do nothing at all.

    The only thing that seems to alter gravity at all is the gravity option in the escape menu, nothing relating to the map itself. I'd really like to figure out what the issue is, because the map is looking pretty nice so far but this is a fairly big aspect of the map that I can't get to work.

    So uhh, anybody out there know how to fix this? I couldn't find anything on the forums.
     
  2. Scepheo

    Scepheo
    Expand Collapse

    Joined:
    Feb 10, 2015
    Messages:
    601
    Gravity isn't a property of the map, but a setting for each vehicle. Use Lua (a map-wide trigger should do it) to set it.
     
  3. CarlosAir

    CarlosAir
    Expand Collapse

    Joined:
    Nov 16, 2013
    Messages:
    336
    Actually, since version 0.5.2, Gravity is a level property too. As the changelog states:
    • Gravity: now set-able per Level (in the LevelInfo object)
    So, changing the Gravity value in the LevelInfo should have an effect, and it doesn't seem to. So, seems like a game bug to me then.
     
  4. Scepheo

    Scepheo
    Expand Collapse

    Joined:
    Feb 10, 2015
    Messages:
    601
    Huh, you've clearly got sharper eyes than I do. Does indeed sound like a bug, in that case.
     
  5. tdev

    tdev
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 3, 2012
    Messages:
    3,085
    If you get me the files via PM i can have a look at the bug :)
     
  6. NaxNir

    NaxNir
    Expand Collapse

    Joined:
    Jan 28, 2014
    Messages:
    618
    Make sure your cache is cleared if you change it within the mis.
     
  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