Unsolved Gravity resets itself?

Discussion in 'Mod Support' started by Ghost187, Feb 15, 2017.

  1. Ghost187

    Ghost187
    Expand Collapse

    Joined:
    Sep 1, 2013
    Messages:
    409
    when i set the gravity on a specific map to "0", everything works. gravity is gone.
    then i save the map and the next time i go back in, the gravity resets itself back to normal again, nomatter if gravity in the mis. file of the map i set to "0".

    :confused::confused::confused:

    that didnt happen before the 0.8 update... is this intentional?
     
  2. meywue

    meywue
    Expand Collapse
    Administrator
    BeamNG Team

    Joined:
    Nov 19, 2015
    Messages:
    339
    Hey,

    well... that is actually a bug. I already forwarded it, thank you for the report.

    For now you could use the lua function setGravity(number gravity) in the environment.lua to set the gravity you would like to have.

    -> environment.setGravity(0)
     
    • Informative Informative x 1
  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