{
"lx470_glass": {
    "information":{
        "authors":"BeamNG",
        "name":"Glass",
        "value":1000,
    }
    "slotType" : "lx470_glass",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //glass
         {"deformGroup":"windshield_break", "deformMaterialBase":"lx470_windshield", "deformMaterialDamaged":"lx470_glass_dmg"}
         ["lx470_windshield", ["lx470_windshield"],[]{"deformSound":"GlassBreakSound1", "deformVolume":0.7}],
         {"deformGroup":"windshield_break", "deformMaterialBase":"lx470_glass_int", "deformMaterialDamaged":"lx470_glass_int"}
         ["lx470_windshield_int", ["lx470_windshield"]],

         {"deformGroup":"windshield_break", "deformMaterialBase":"glass_invisible", "deformMaterialDamaged":"glass_mirror"}
         ["lx470_windshield_dmg", ["lx470_windshield"]],

         {"deformGroup":"sideglass_R_break", "deformMaterialBase":"lx470_glass", "deformMaterialDamaged":"lx470_glass_dmg"}
         ["lx470_sideglass_R", ["lx470_body"],[]{"deformSound":"GlassBreakSound5", "deformVolume":0.7}],
         {"deformGroup":"sideglass_R_break", "deformMaterialBase":"lx470_glass_int", "deformMaterialDamaged":"lx470_glass_dmg"}
         ["lx470_sideglass_R_int", ["lx470_body"]],
         {"deformGroup":"sideglass_L_break", "deformMaterialBase":"lx470_glass", "deformMaterialDamaged":"lx470_glass_dmg"}
         ["lx470_sideglass_L", ["lx470_body"],[]{"deformSound":"GlassBreakSound6", "deformVolume":0.7}],
         {"deformGroup":"sideglass_L_break", "deformMaterialBase":"lx470_glass_int", "deformMaterialDamaged":"lx470_glass_dmg"}
         ["lx470_sideglass_L_int", ["lx470_body"]],
         {"deformGroup":""}
         ["lx470_sunroof", ["lx470_body"]],
		 ["lx470_wipers", ["lx470_body"]],
         ["lx470_intmirror", ["lx470_windshield"]],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"selfCollision":true}
         {"collision":true},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_GLASS"},
         {"nodeWeight":4.4},
         {"group":["lx470_windshield","gps"]},
         ["r1", 0.0, -0.58, 1.51],
         {"group":""},
    ],

    "beams": [
          ["id1:", "id2:"],{"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamSpring":2016840,"beamDamp":260},
          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"deformGroup":"windshield_break", "deformationTriggerRatio":0.04}
          {"beamDeform":10000,"beamStrength":"FLT_MAX"},
          //windshield
          ["r1","f3"],
          ["r1","r2"],
          ["r1rr","r1"],
          ["r1ll","r1"],
          ["r1","f3r"],
          ["r1","f3l"],
          ["r1","r3"],
          ["r1","f6"],
          ["r2rr","r1"],
          ["r2ll","r1"],

          ["r1","f3rr"],
          ["r1","f3ll"],

          {"beamDeform":10000,"beamStrength":21360},
          ["r1rr","r1ll"],

          ["f3","r2"],

          ["r2rr","f3r"],
          ["r2ll","f3l"],

          ["r2","f3r"],
          ["r2","f3l"],

          ["r2rr","r2ll"],

          {"disableMeshBreaking":true,"disableTriangleBreaking":true},
          {"deformGroup":"sideglass_R_break", "deformationTriggerRatio":0.03}
          //brittle glass beams
          {"beamDeform":21000,"beamStrength":14240},
          {"breakGroup":"sideglass_R"},
          ["q2r","r5rr"],
          ["q2r","r6rr"],
          ["q2r","r7rr"],
          ["p7r","p8r"],
          ["p7r","r7rr"],
          ["p7r","q3r"],
          ["q1r","p8r"],
          ["r5rr","p8r"],

          {"deformGroup":"sideglass_L_break"}
          {"breakGroup":"sideglass_L"},
          ["q2l","r5ll"],
          ["q2l","r6ll"],
          ["q2l","r7ll"],
          ["p7l","p8l"],
          ["p7l","r7ll"],
          ["p7l","q3l"],
          ["q1l","p8l"],
          ["r5ll","p8l"],

          {"breakGroup":""},
          {"disableMeshBreaking":false,"disableTriangleBreaking":false},
          {"deformGroup":""}
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
}
}