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

Resetting vehicle unpauses physics

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by defib, Oct 10, 2016.

  1. defib

    defib
    Expand Collapse

    Joined:
    Aug 6, 2013
    Messages:
    490
    Is this a problem for anyone else? When I reset a vehicle, it unpauses the physics. This is extremely frustrating when positioning cars to fall into a pile. If this is intentional, this is completely counter intuitive and I'd love to see a feature to toggle it on and off.
     
  2. zagdima

    zagdima
    Expand Collapse

    Joined:
    Dec 13, 2013
    Messages:
    372
    Have same issue. And i hate it. It appeared with latest fix to 0.7 update.
     
  3. stenyak

    stenyak
    Expand Collapse
    Global Moderator
    BeamNG Team

    Joined:
    Aug 6, 2012
    Messages:
    1,355
    Ah, sorry for the inconvenience. That's a bug that slipped while fixing another issue.

    Since no other hotfix is planned in the short term, you can make the following change:

    Important: do this at your own risk. If you feel uncomfortable editing text files, do not attempt this.

    1. Open this file with a text editor:
    Code:
    C:\Program Files (x86)\Steam\SteamApps\common\BeamNG.drive\lua\ge\extensions\scenario\scenarios.lua
    2. Go to line 961. It will contain this:
    Code:
    -- called on physics engine events
    local function onPhysicsEngineEvent(type, a1)
    3. Add a new line after that, as shown in the snippet below:
    Code:
    -- called on physics engine events
    local function onPhysicsEngineEvent(type, a1)
      if not scenario then return end
    4. Save and exit.

    Next time you run BeamNG.drive, it should not unpause after a reset.
     
    • Like Like x 4
  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