1. Stuck or having problems creating your mod?
  2. GPU Fatal Error? Intel HD Graphics 620/630 Crashes? Help us solve them!
    Dismiss Notice

Unsolved trying to make my first jbeam

Discussion in 'Mod Support' started by i.want.to.mod, Oct 18, 2019.

  1. i.want.to.mod

    i.want.to.mod
    Expand Collapse

    Joined:
    Jul 11, 2019
    Messages:
    16
    ok so i have been trying to use the vehicle making tutorial for the past few hours. i got the jbeams in but the issue i am having is the body of the oject (named Cube) wont show up in the game. I have done everything the tutorial has said to do but i just cant seem to get it. Any help is appreciated.
     

    Attached Files:

  2. Alex_Farmer557

    Alex_Farmer557
    Expand Collapse

    Joined:
    Dec 28, 2016
    Messages:
    2,360
    You haven't defined any flexbodies as far as i can tell
     
  3. i.want.to.mod

    i.want.to.mod
    Expand Collapse

    Joined:
    Jul 11, 2019
    Messages:
    16
    "flexbodies": [
    ["mesh", "[group]:", "nonFlexMaterials"],
    ["Cube", ["cube_g"]],
    ],

    isnt this the flexbody?
     
  4. Alex_Farmer557

    Alex_Farmer557
    Expand Collapse

    Joined:
    Dec 28, 2016
    Messages:
    2,360
    yes, must've missed that, sorry
     
  5. i.want.to.mod

    i.want.to.mod
    Expand Collapse

    Joined:
    Jul 11, 2019
    Messages:
    16
    naw youre good.
     
  6. atv_123

    atv_123
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    1,172
    Welp... I am not on my BeamNG computer to test... but looking at the JBeam I can see one discrepancy.

    Code:
        "flexbodies": [
            ["mesh", "[group]:", "nonFlexMaterials"],
            ["Cube", ["cube_g"]],
         ],
       
        "nodes": [      
            ["id", "posX", "posY", "posZ"],
            {"nodeWeight":10},
            {"frictionCoef":0.7},
            {"nodeMaterial":"|NM_METAL"},
            {"collision":true},
            {"selfCollision":true},  
            {"group":"Cube"},
    Notice how your group for your flexbody and your group for your nodes are different? Basically since there are no nodes assigned to the group cube_g, the game doesn't know where to spawn your mesh. So if you change the group down at the nodes to cube_g rather than Cube, everything should work as you expect it too.
     
    • Like Like 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