{
"r6_stablizers_r": {
    "information":{
        "authors":"CRGZ",
        "name":"Right Stabilizer",
        "value":450,
    },
    "slotType" : "r6_stablizers_r",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["r6_stablizer_r", ["r6_stablizer_r"]],
         ["r6_stablizerwheel_r", ["r6_stablizerwheel_r"]],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        ["shaft", "stabilizerR", "", 1, {"connectedWheel":"STR", "breakTriggerBeam":"stab_R", "friction":0.1}],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--STABILIZER--
         {"collision":true},
         {"selfCollision":true},
         {"nodeWeight":3.2},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"group":"r6_stablizer_r"},
         //main brackets
         ["stu1r", -0.24562, 0.78238, 0.57619],
         ["stu2r", -0.25216, 0.85238, 0.57666],
         ["stu3r", -0.24063, 0.82238, 0.63157],

         ["stu4r", -0.17407, 0.78238, 0.34234],
         ["stu5r", -0.18060, 0.85238, 0.34280],
         ["stu6r", -0.17277, 0.82238, 0.27854],

         //tube
         ["sta1r", -0.30396, 0.82238, 0.59629],
         ["sta2r", -0.46700, 0.78238, 0.22758],

         //wheel hub axis
         {"group":["r6_stablizer_r","r6_stablizerwheel_r"]},
         ["stw1r", -0.44664, 0.81638, 0.20913],
         ["stw1rr", -0.48722, 0.81638, 0.20913],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          //--STABILIZER--
          {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamSpring":851000,"beamDamp":80},
          {"beamDeform":75000,"beamStrength":"FLT_MAX"},
          //brackets
          ["stu1r","stu2r"],
          ["stu2r","stu3r"],
          ["stu3r","stu1r"],

          ["stu4r","stu5r"],
          ["stu5r","stu6r"],
          ["stu6r","stu4r"],

          //tube
          {"beamDeform":25000,"beamStrength":"FLT_MAX"},
          ["stu1r","sta1r"],
          ["stu2r","sta1r"],
          ["stu3r","sta1r"],

          ["stu1r","sta2r"],
          ["stu2r","sta2r"],
          ["stu3r","sta2r"],

          ["sta1r","sta2r"],

          ["stu4r","sta1r"],
          ["stu5r","sta1r"],
          ["stu6r","sta1r"],

          ["stu4r","sta2r"],
          ["stu5r","sta2r"],
          ["stu6r","sta2r"],

          //hub
          {"beamDeform":15000,"beamStrength":"FLT_MAX"},
          ["sta2r","stw1r", {"name":"stab_R"}],
          ["sta2r","stw1rr"],
          ["stw1r","stw1rr"],

          ["stw1r","stu4r"],
          ["stw1r","stu5r"],
          ["stw1r","stu6r"],

          ["stw1rr","stu4r"],
          ["stw1rr","stu5r"],
          ["stw1rr","stu6r"],

          ["stw1r","stu1r"],
          ["stw1r","stu2r"],
          ["stw1r","stu3r"],

          ["stw1rr","stu1r"],
          ["stw1rr","stu2r"],
          ["stw1rr","stu3r"],

          ["stw1rr","sta1r"],

          //attach
         {"beamDeform":52500,"beamStrength":40000},
          {"beamSpring":55100,"beamDamp":80},
          {"breakGroup":"sidefenderR_jbeam"},
          ["stu3r","sfr2"],
          ["stu3r","sfr1"],
          ["stu3r","sfr5"],
		  
		  ["stu3r","sfl3"],
		  ["stu2r","sfl3"],
		  ["stu1r","sfl3"],
       
		  
		  ["stu2r","sfr2"],
          ["stu2r","sfr1"],
          ["stu2r","sfr5"],
		  
		  ["stu1r","sfr2"],
          ["stu1r","sfr1"],
          ["stu1r","sfr5"],
		  
		  ["stu4r","sfr2"],
          ["stu4r","sfr1"],
          ["stu4r","sfr5"],
		  
		  ["stu5r","sfr2"],
          ["stu5r","sfr1"],
          ["stu5r","sfr5"],
		  
		  ["stu6r","sfr2"],
          ["stu6r","sfr1"],
          ["stu6r","sfr5"],
		  
		  //Wheel
		  
		  ["sta2r","sfr5"],
          ["stu6r","sfr2"],
          
		  ["stw1rr","sfl5"],
          ["stw1rr","sfr2"],
          {"breakGroup":""},
          {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
    "triangles": [
            ["id1:","id2:","id3:"],
            //stabilizer
            {"groundModel":"metal"},
            {"group":"pigeon_stabilizer_R"},
            ["stu3r","stu2r","stu1r"],
            ["stu4r","stu6r","stu5r"],
            {"group":""},
    ],
    "pressureWheels": [
            ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],

            //general settings
            {"hubRadius":0.1},
            {"wheelOffset":0.005},
            {"hubWidth":0.065},
            {"numRays":10},
            {"hasTire":false},

            //hub options
            {"hubBeamSpring":251000, "hubBeamDamp":5},
            {"hubBeamDeform":40000, "hubBeamStrength":160000},
            {"hubNodeWeight":0.3},
            {"hubNodeMaterial":"|NM_RUBBER"},
            {"hubFrictionCoef":0.8},

            //stabilizer wheel
            {"propulsed":0},
            {"brakeTorque":0},
            {"parkingTorque":0},
            {"selfCollision":true},
            {"collision":true},
            ["STR", "r6_stablizerwheel_r", "r6_stablizerwheel_r", "stw1r", "stw1rr", 9999, "sta1r", 1, {"speedo":false}],
            {"propulsed":0},
            {"hasTire":true},
    ],
},
"r6_stablizers_l": {
    "information":{
        "authors":"CRGZ",
        "name":"Left Stabilizer",
        "value":450,
    },
    "slotType" : "r6_stablizers_l",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["r6_stablizer_l", ["r6_stablizer_l"]],
         ["r6_stablizerwheel_l", ["r6_stablizerwheel_l"]],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        ["shaft", "stabilizerL", "", 1, {"connectedWheel":"STL", "breakTriggerBeam":"stab_L", "friction":0.1}],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--STABILIZER--
         {"collision":true},
         {"selfCollision":true},
         {"nodeWeight":3.2},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"group":"r6_stablizer_l"},
         //main brackets
         ["stu1l", 0.25326, 0.78238, 0.57584],
         ["stu2l", 0.25990, 0.85238, 0.57623],
         ["stu3l", 0.25382, 0.82238, 0.63149],

         ["stu4l", 0.17864, 0.78238, 0.35084],
         ["stu5l", 0.18528, 0.85238, 0.35123],
         ["stu6l", 0.17087, 0.82238, 0.28680],

         //tube
         ["sta1l", 0.31413, 0.82238, 0.59532],
         ["sta2l", 0.47477, 0.78238, 0.22296],

         //wheel hub axis
         {"group":["r6_stablizer_l","r6_stablizerwheel_l"]},
         ["stw1l", 0.45075, 0.81638, 0.20418],
         ["stw1ll", 0.49330, 0.81638, 0.20418],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          //--STABILIZER--
          {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamSpring":851000,"beamDamp":80},
          {"beamDeform":75000,"beamStrength":"FLT_MAX"},
          //brackets
          ["stu1l","stu2l"],
          ["stu2l","stu3l"],
          ["stu3l","stu1l"],

          ["stu4l","stu5l"],
          ["stu5l","stu6l"],
          ["stu6l","stu4l"],

          //tube
          {"beamDeform":25000,"beamStrength":"FLT_MAX"},
          ["stu1l","sta1l"],
          ["stu2l","sta1l"],
          ["stu3l","sta1l"],

          ["stu1l","sta2l"],
          ["stu2l","sta2l"],
          ["stu3l","sta2l"],

          ["sta1l","sta2l"],

          ["stu4l","sta1l"],
          ["stu5l","sta1l"],
          ["stu6l","sta1l"],

          ["stu4l","sta2l"],
          ["stu5l","sta2l"],
          ["stu6l","sta2l"],

          //hub
          {"beamDeform":15000,"beamStrength":"FLT_MAX"},
          ["sta2l","stw1l", {"name":"stab_L"}],
          ["sta2l","stw1ll"],
          ["stw1l","stw1ll"],

          ["stw1l","stu4l"],
          ["stw1l","stu5l"],
          ["stw1l","stu6l"],

          ["stw1ll","stu4l"],
          ["stw1ll","stu5l"],
          ["stw1ll","stu6l"],

          ["stw1l","stu1l"],
          ["stw1l","stu2l"],
          ["stw1l","stu3l"],

          ["stw1ll","stu1l"],
          ["stw1ll","stu2l"],
          ["stw1ll","stu3l"],

          ["stw1ll","sta1l"],

          //attach
          {"beamDeform":52500,"beamStrength":40000},
          {"beamSpring":55100,"beamDamp":80},
          {"breakGroup":"sidefenderL_jbeam"},
          ["stu3l","sfl2"],
          ["stu3l","sfl1"],
          ["stu3l","sfl5"],
		  
		  ["stu3l","sfl3"],
		  ["stu2l","sfl3"],
		  ["stu1l","sfl3"],
       
		  
		  ["stu2l","sfl2"],
          ["stu2l","sfl1"],
          ["stu2l","sfl5"],
		  
		  ["stu1l","sfl2"],
          ["stu1l","sfl1"],
          ["stu1l","sfl5"],
		  
		  ["stu4l","sfl2"],
          ["stu4l","sfl1"],
          ["stu4l","sfl5"],
		  
		  ["stu5l","sfl2"],
          ["stu5l","sfl1"],
          ["stu5l","sfl5"],
		  
		  ["stu6l","sfl2"],
          ["stu6l","sfl1"],
          ["stu6l","sfl5"],
		  
		  //Wheel
		  
		  ["sta2l","sfl5"],
          ["stu6l","sfl2"],
          
		  ["stw1ll","sfl5"],
          ["stw1ll","sfl2"],
		  
          {"breakGroup":""},
          {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
    "triangles": [
            ["id1:","id2:","id3:"],
            //stabilizer
            {"groundModel":"metal"},
            {"group":"pigeon_stabilizer_L"},
            ["stu2l","stu3l","stu1l"],
            ["stu4l","stu5l","stu6l"],
            {"group":""},
    ],
    "pressureWheels": [
            ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],

            //general settings
            {"hubRadius":0.1},
            {"wheelOffset":0.005},
            {"hubWidth":0.065},
            {"numRays":10},
            {"hasTire":false},

            //hub options
            {"hubBeamSpring":2510000, "hubBeamDamp":5},
            {"hubBeamDeform":"FLT_MAX", "hubBeamStrength":16000},
            {"hubNodeWeight":0.3},
            {"hubNodeMaterial":"|NM_RUBBER"},
            {"hubFrictionCoef":0.8},

            //stabilizer wheel
            {"propulsed":0},
            {"brakeTorque":0},
            {"parkingTorque":0},
            {"selfCollision":true},
            {"collision":true},
            ["STL", "r6_stablizerwheel_l", "r6_stablizerwheel_l","stw1l", "stw1ll", 9999, "sta1l", 1, {"speedo":false}],
            {"propulsed":0},
            {"hasTire":true},
    ],
},
}