Solved Flexbodys won't work with groups

Discussion in 'Mod Support' started by Bernd, Aug 29, 2016.

  1. Bernd

    Bernd
    Expand Collapse

    Joined:
    Dec 27, 2015
    Messages:
    1,387
    Hi,
    I'm stuck with a problem while making my halfpipe tipper, for some reason some flexbodys won't show up when I try to apply the correct node group to them.

    Node sections:

    halfpipe.jbeam:
    Code:
    "nodes": [
            //front connect
            ["fcon", 0.00000, 1.20000, 1.25729{"group":["dryvan_floor","halfpipe_cylinder"]}],
            //--FLOOR/FRAME--
    halfpipe_halfpipe.jbeam:
    Code:
           //front conpins
               {"nodeWeight":10},
                 ["h_mb", 0.00000, 1.43860, 2.57683{"group":["halfpipe_cylinder_top","halfpipe_cylinder_inner"]}],
                 ["fconb", 0.00000, 1.41519, 2.47019{"group":["halfpipe_cylinder","halfpipe_cylinder_inner"]}],
             {"group":""},
    ...and flexbodys (halfpipe_halfpipe.jbeam)
    Code:
     "flexbodies": [
            ["mesh", "[group]:", "nonFlexMaterials"],
            ["halfpipe_halfpipe", ["halfpipe"]],
            ["halfpipe_cylinder", ["halfpipe_cylinder"]],
            ["halfpipe_cylinder_inner", ["halfpipe_cylinder_inner"]],
            ["halfpipe_cylinder_top", ["halfpipe_cylinder_top"]],
            {"deformGroup":""},
        ],
        
    Works flawlessly when I apply halfpipe as the group in the flexbodys:
    screenshot_00447.png

    Any help would be appreciated :).
     

    Attached Files:

  2. Hondune

    Hondune
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    263
    Im on mobile at the moment so I havnt taken a deep look at the file yet, do you have at least 3 nodes in each group? Flexbodies need at least 3 nodes in their group otherwise they will not work or show up.
     
    • Like Like x 2
  3. Bernd

    Bernd
    Expand Collapse

    Joined:
    Dec 27, 2015
    Messages:
    1,387
    I have two/one nodes in the group... alright, I'll try it with 3 nodes once I'm back at my PC :).
     
  4. Bernd

    Bernd
    Expand Collapse

    Joined:
    Dec 27, 2015
    Messages:
    1,387
    That did it, thanks a lot! :)
    ezgif.com-video-to-gif (19).gif
    And it's even working the way I planned it, awesome :).
     
    • 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