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.37 Bug Reporting thread
    Solutions and more information may already be available.

Unfathomable jbeam wheel bug

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Bakasan, Jun 20, 2015.

  1. Bakasan

    Bakasan
    Expand Collapse

    Joined:
    Dec 3, 2013
    Messages:
    1,487
    Hello, to cut to the chase, putting rear wheels on my car causes beamng to lose it's marbles, like so:

    (imported from here)
    The source of the error is the highlighted part of the following code:

    Code:
            ["RR", "wheel_RR", "wRRo", "wRRi", 9999, "[COLOR=#ff0000]rspl4[/COLOR]", 1],
            ["RL", "wheel_RL", "wRLo", "wRLi", 9999, "[COLOR=#ff0000]rspr8[/COLOR]", -1]
    Setting the red phrase to the nodes on the rear axle breaks the physics, and setting a null value returns to normal (albeit with no wheels).

    If you know what's wrong and could help me, that'd be great. I would like to carry on jbeaming, and wheels would be rather handy ;)

    If needed I can provide the jbeam syntax, but I've checked it over multiple times and nothing seems to be wrong.
     
  2. burilkovdeni

    burilkovdeni
    Expand Collapse

    Joined:
    Aug 21, 2014
    Messages:
    1,191
    At the end of the second line it is missing a comma.
     
  3. Bakasan

    Bakasan
    Expand Collapse

    Joined:
    Dec 3, 2013
    Messages:
    1,487
    I've tried that already, the presence of the comma seems to have no effect on the error (some official vehicles use 1 comma, while others seem to have 2)
     
  4. burilkovdeni

    burilkovdeni
    Expand Collapse

    Joined:
    Aug 21, 2014
    Messages:
    1,191
    Try this:

    Code:

    ["RR", "wheel_RR", "wRRo", "wRRi", 9999, "rspl8", 1],
    ["RL", "wheel_RL", "wRLo", "wRLi", 9999, "rspr8", -1]
     
  5. Bakasan

    Bakasan
    Expand Collapse

    Joined:
    Dec 3, 2013
    Messages:
    1,487
    Unfortunately that does not work either. There appears to be no problem with syntax or mapping of nodes (the wheels do appear when the physics is frozen/j is pressed). If you freeze the physics, deselect the wheels, unpause the physics and reselect them, the game does not freeze, and functions normally, albeit with the mesh now off centre (and the console continually spammed with errors)
    screenshot_00112.png
    This error seems much more complex than just an incorrect bit of code, perhaps I may have to reinstall my game.
     
  6. Miura

    Miura
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    311
    Does it work with other nodes? If it does, are these nodes in line with the rear axle? Since it's a torque arm, the nodes should be offset from the axle line (at the brake calipers).

    I tried brake arm nodes in line with the axle and got some weird braking behavior and wheels flying off, but no physics crash or that error. So the problem could be something else too.
     
  7. Bakasan

    Bakasan
    Expand Collapse

    Joined:
    Dec 3, 2013
    Messages:
    1,487
    I don't think that's the problem either, I've tried with other nodes and got the same result (the jbeam itself is perfectly stable, it's just that my game does not like this particular jbeam). Hopefully a fresh reinstall will do the trick.
     
  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