WIP Need help with beams and nodes

Discussion in 'Content Creation' started by Jecken, Mar 27, 2015.

  1. Jecken

    Jecken
    Expand Collapse

    Joined:
    Aug 31, 2014
    Messages:
    5
    Now

    I know what you're thinking...
    I know there is a content creation page by B25Mitch and yes, I am following that guide on
    version 0.3.7.7. The problem I am having at the moment is currently stopping me from
    progressing any further with my project sadly. I am enthusiastic about getting into the know
    about "content creation".

    What I am using:
    Blender v2.73 with the Jbeam v.0.0.1 export command
    GIMP
    WinRar
    NotePad++
    Beamng.drive v.0.3.7.7

    What I have done so far:

    car.PNG
    (In case I have something enabled please check over this photo, I do believe it may have something to do with the fluid-ism modifier as I can't seem to remove it from the list)
    I have been trying to create a simple low poly vehicle for the past 2 days now, I believe I have done well.

    What I have been doing:
    1. Create car body mesh.

    2. Save as .blend then export as a .jbeam with jbeam export command in blender.

    3. Create cube.jbeam in separate folder to the export generated one.
    In the cube.jbeam in new fold I put:

    {"Swiper":

    {
    "information":{
    "authors":"Wacko",
    "name":"Wacko",
    }

    "slotType" : "main",

    "nodes": [
    ["id", "posX", "posY", "posZ"],
    {"nodeWeight":5},
    {"frictionCoef":0.7},
    {"nodeMaterial":"|NM_METAL"},
    {"collision":true}
    {"selfCollision":false}
    ["nr0",-2.048,-1.981,0.393],
    ["nl1",3.37,-1.98,0.982], -These are some nodes to show you where I have put them.

    ],

    "beams": [

    ["id1:", "id2:"],
    {"beamSpring":2500000,"beamDamp":2000},
    {"beamDeform":14000,"beamStrength":"1000000"},
    ["nl75","nl5"],
    ["nl115","nl116"], - And some beams to show you how they are formatted.



    So it looks like this:

    Swiper.zip ---> vehicles ---> Swiper ---> name.cs
    ........................................................--->cube.jbeam (The code in this folder is the italic code above)

    4. Run beamng and select my vehicle "Swiper" from the vehicle list.

    5. Press "k" and "l" for node and beam info.

    As I do this I noticed that my vehicle is a green twist of beams and node lying on the floor like jelly/jell-o.
    This is annoying and hindering my strange hunger for knowledge's quench. It looks a little something like this:

    upright.PNG
    to this when I un-pause physics:
    floppy pen15 car.PNG

    Someone please explain to me how to fix this. I'm beginning to believe that this is a matter of human error, and I may not be reading the
    guide properly. So I went to look at other vehicles .blend examples and found out that something looked different:

    My car and the shark:
    shark.PNG swper.PNG

    Maybe I've got no actual PROPER beams and nodes, maybe my beams and nodes generated are based off the model
    and not those orange edges and vertices shown on the shark.blend.

    Please check the attachment on the page for swiper.blend and swiper.zip


    If you would like to show me how or re-correct me, please do.
    Please PM me or add me on steam at "Wacko".

    Thank you for you precious time

    -Jackowackomoko :cool:
     

    Attached Files:

  2. crashmaster

    crashmaster
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    1,812
    Im new to this too but if you look at the beams they are all in a line, you need to support them cross side too. thats why if you look in the jbeams of other cars they will have beams everywhere and in triangular ways too.
    But i might be wrong, im also new to this.
    i hope i helped
     
  3. Jecken

    Jecken
    Expand Collapse

    Joined:
    Aug 31, 2014
    Messages:
    5
    Thank you very much for the response, but I'm not sure how to "triangulate" (I think that is what it is called) just as of yet.
    If you look at the picture of the shark

    there is the orange triangulated wire as you said, but when I interact with it, the mesh of the vehicle and the wire stuff are separate but must be grouped in their own jbeam file.
    Also, what are you making? Just interested.
     
  4. KennyWah

    KennyWah
    Expand Collapse

    Joined:
    Jan 16, 2013
    Messages:
    2,630
    Triangles are the stongest shape.. you are completely correct by saying you need what I like to call

    cross-beam-connections/supports.
     
  5. Jecken

    Jecken
    Expand Collapse

    Joined:
    Aug 31, 2014
    Messages:
    5

    What tool do I use in blender to create this so called cross beam connection?
     
  6. crashmaster

    crashmaster
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    1,812
    If you select 2 nodes by holding shift, press f and it will create a beam.
     
  7. Jecken

    Jecken
    Expand Collapse

    Joined:
    Aug 31, 2014
    Messages:
    5
    I can then triangulate it too? You know, with the modifier?
    Thank you for the help
     
  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