Solved Bright & Half transparent object, that "explodes" in all directions

Discussion in 'Mod Support' started by SequentialZ, Mar 23, 2017.

  1. SequentialZ

    SequentialZ
    Expand Collapse

    Joined:
    Mar 19, 2017
    Messages:
    63
    Hi, very noob here.

    I'm trying to make a simple addon for the van, a Half Roll Cage. Now that all files are made and that I can finally spawn it (Dae & JBEAM made).
    But the rollcage "explodes" in all directions, it tears up mesh around it. (I have to stop physics at spawning to get a screenshot). I checked with an app and not any nodes or beams or broken or deformed though.
    Plus, it is half transparent (you can see half through it) and texture very bright.
    Could someone help me figure out how to fix this ?
    Thank you.
     

    Attached Files:

  2. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,677
    Small disclaimer: I haven't downloaded the files. However your images and description are good enough to work from so thanks :)

    Issues with your design:
    In BeamNG vehicles are made from Nodes and Beams. The nodes are the dots you see on your jbeam design and the beams are the blue lines.


    Even if your design didn't explode it would not work. This is because all nodes are like hinges for Beams. So there is absolutely nothing keeping your beams in place, they will just flop down to the ground with the nodes like a wet rag.

    So, how do you fix this?
    Triangulation.

    Realistically for a roll hoop like that you could use 2 nodes and a few beams as shown in the image below:
    Untitled-1.png


    The issue of the vehicle warping:
    This is because nodes have groups, then the 3d models are bent according to a certain group of nodes. The reason everything bent is because you set your rollcage to the same group as the rest of the vehicle, so when it bends everything else does. In order to fix this you just need to set the two new nodes to a new node group, then change the nodes you attach them to so they are members of both groups. This way the roll cage should bend independently of the rest of the vehicle like it should.

    If it is violently exploding it is also possible that your BeamDamp and BeamSpring values are wrong causing it to explode, but I would advise fixing the above issues first and then seeing if this problem still exists after.
     
    • Agree Agree x 1
  3. SequentialZ

    SequentialZ
    Expand Collapse

    Joined:
    Mar 19, 2017
    Messages:
    63
    Hi ! Thank you for your reply, so I followed your instructions and understood how to make it a group and now it doesn't "warp" anymore ! (you made my day when I saw it not bugging)
    I wonder now if it is possible to improve its deformation, after few rolls it looked like that inside (Pic 1).
    I do not know either how to fix that material or texture problem that makes it possible to see half through it, texture being bright too.
    At least the biggest problem is gone now, thank you. ;)
     

    Attached Files:

    • afterroll.png
  4. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,677
    That is something I would also love to know the answer to for my roll cage does a similar thing.

    If you set the material in your 3d modelling software to have the same name as one of the default ones you should be able to use the included textures which may be preferable. Alternatively you should be able to fix material inside the materials file to prevent any issues you are having with it.
     
  5. SequentialZ

    SequentialZ
    Expand Collapse

    Joined:
    Mar 19, 2017
    Messages:
    63
    Okay, thank you. :D
     
  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