{
"CDC_BagTrailer_axle_R": {
    "information":{
        "authors":"BeamNG",
        "name":"Airbag Rear Suspension",
        "value":300,
    }
    "slotType" : "CDC_BagTrailer_suspension_R",
    "slots": [
        ["type", "default", "description"]
        ["CDC_BagTrailer_brake_R","CDC_BagTrailer_brake_R","Brakes"],
        ["CDC_BagTrailer_fender_R","CDC_BagTrailer_fender_R","Rear Fenders"],
        ["wheel_R_4","steelwheel_01a_14x5.5_R_trailer", "Wheels", {"nodeOffset":{"x":"$trackwidth", "y":6.073, "z":0.7156}}],
        ["CDC_BagTrailer_wheeldata_R","CDC_BagTrailer_wheeldata_R","Spindles"{"coreSlot":true}],
         ["CDC_BagTrailer_sway_R","CDC_BagTrailer_sway_R","Anti Sway Bars"],
    ],
    "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"]
        ["$airbag_R_pressure", "range", "psi", "Suspension", 62, 0, 120, "Rear Airbag Starting Pressure", "Starting Pressure of the Airbag", {"stepDis":0.5, "subCategory":"Rear"}]
		["$trackwidth", "range", "m", "Wheel Alignment", 0.65, 0.62, 0.665, "Wheel Offset", "Spacing of the wheel from the hub"{"stepDis":0.005}]
    ],
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //axle
         ["CDC_BagTrailer_mount_R", ["CDC_BagTrailer","suspmount_R"], [], {"pos":{"x":0.0, "y":0.0, "z":0.0}}],
         ["CDC_BagTrailer_suspension_RR", ["suspmount_R", "CDC_BagTrailer_hub_RR"], [], {"pos":{"x":0.0, "y":0.0, "z":0.0}}],
         ["CDC_BagTrailer_airbag_RR", ["bagmount_R", "CDC_BagTrailer_bag_RR"], [], {"pos":{"x":0.0, "y":0.0, "z":0.0}}],
         ["CDC_BagTrailer_suspension_RL", ["suspmount_R", "CDC_BagTrailer_hub_RL"], [], {"pos":{"x":0.0, "y":0.0, "z":0.0}}],
         ["CDC_BagTrailer_airbag_RL", ["bagmount_R", "CDC_BagTrailer_bag_RL"], [], {"pos":{"x":0.0, "y":0.0, "z":0.0}}],

 
    ],
	
	
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--REAR DEAD AXLE SUSPENSION--
         {"RRictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"nodeWeight":5},
         {"selfCollision":true}
         {"collision":true}
         {"group":"CDC_BagTrailer_hub_RR"},
 
         ["bgtax_R_2r", -1.12000, 6.14000, 0.69000],
         ["bgtax_R_3r", -1.12000, 6.29000, 0.81000],
         ["bgtax_R_4r", -1.12000, 6.44000, 0.69000],
         ["bgtax_R_5r", -1.12000, 6.29000, 0.59000],
		
         ["CDC_BagTrailerrigR1r", -0.90000, 6.29300, 0.69000 {"selfCollision":false, "collision":false}],
		{"group":["CDC_BagTrailer_bag_RR","CDC_BagTrailer_hub_RR"]}
         ["CDC_BagTrailerbagR1r", -1.12000, 6.72000, 0.760000],
  
         {"group":"CDC_BagTrailer_hub_RL"},

         ["bgtax_R_2l", 1.12000, 6.14000, 0.69000],
         ["bgtax_R_3l", 1.12000, 6.29000, 0.81000],
         ["bgtax_R_4l", 1.12000, 6.44000, 0.69000],
         ["bgtax_R_5l", 1.12000, 6.29000, 0.59000],
		
         ["CDC_BagTrailerrigR1l", 0.90000, 6.29300, 0.69000 {"selfCollision":false, "collision":false}],
		{"group":["CDC_BagTrailer_bag_RL","CDC_BagTrailer_hub_RL"]}
         ["CDC_BagTrailerbagR1l", 1.12000, 6.74000, 0.760000],
         //suspension mount nodes
		  {"nodeWeight":6.5},
         {"group":["CDC_BagTrailer","suspmount_R", "CDC_BagTrailer_bag_RR"]},
         ["CDC_BagTrailermountR1r", -0.7000, 6.76000, 0.55300],
         ["CDC_BagTrailermountR1rr", -1.20000, 6.76000, 0.55300],
         ["CDC_BagTrailermountR2r", -1.12000, 6.82000, 0.80000{"group":["CDC_BagTrailer","bagmount_R"]}],
         {"group":["CDC_BagTrailer","suspmount_R", "CDC_BagTrailer_bag_RL"]},
         ["CDC_BagTrailermountR1l", 0.7000, 6.76000, 0.55300],
         ["CDC_BagTrailermountR1ll", 1.20000, 6.76000, 0.55300],
         ["CDC_BagTrailermountR2l", 1.12000, 6.82000, 0.80000{"group":["CDC_BagTrailer","bagmount_R"]}],
  
         {"group":""},
    ],
 
    "airbagBeamData": [
            ["beamName", "groupName"]
            ["airbag_RL", "rearAxle"],
            ["airbag_RR", "rearAxle"],
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1.0, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
          //--REAR INDEPENDENT SUSPENSION--
          {"beamSpring": 4501000,"beamDamp":175},
          {"beamDeform":95000,"beamStrength":325000},
//hub shapes

            ["bgtax_R_3r", "bgtax_R_2r"],
            ["bgtax_R_2r", "bgtax_R_5r"],
            ["bgtax_R_5r", "bgtax_R_4r"],
            ["bgtax_R_4r", "bgtax_R_3r"],
            ["bgtax_R_3r", "bgtax_R_5r"],
            ["bgtax_R_2r", "bgtax_R_4r"],
            ["CDC_BagTrailerrigR1r", "bgtax_R_3r"],
            ["CDC_BagTrailerrigR1r", "bgtax_R_2r"],
            ["CDC_BagTrailerrigR1r", "bgtax_R_5r"],
            ["CDC_BagTrailerrigR1r", "bgtax_R_4r"],
            ["CDC_BagTrailerrigR1r", "CDC_BagTrailerbagR1r"],

            ["bgtax_R_3r", "CDC_BagTrailerbagR1r"],
            ["CDC_BagTrailerbagR1r", "bgtax_R_5r"],
            ["bgtax_R_4r", "CDC_BagTrailerbagR1r"],
            ["bgtax_R_2r", "CDC_BagTrailerbagR1r"],

            ["bgtax_R_3l", "bgtax_R_2l"],
            ["bgtax_R_2l", "bgtax_R_5l"],
            ["bgtax_R_5l", "bgtax_R_4l"],
            ["bgtax_R_4l", "bgtax_R_3l"],
            ["bgtax_R_3l", "bgtax_R_5l"],
            ["bgtax_R_2l", "bgtax_R_4l"],
            ["CDC_BagTrailerrigR1l", "bgtax_R_3l"],
            ["CDC_BagTrailerrigR1l", "bgtax_R_2l"],
            ["CDC_BagTrailerrigR1l", "bgtax_R_5l"],
            ["CDC_BagTrailerrigR1l", "bgtax_R_4l"],
            ["CDC_BagTrailerrigR1l", "CDC_BagTrailerbagR1l"],

            ["bgtax_R_3l", "CDC_BagTrailerbagR1l"],
            ["CDC_BagTrailerbagR1l", "bgtax_R_5l"],
            ["bgtax_R_4l", "CDC_BagTrailerbagR1l"],
            ["bgtax_R_2l", "CDC_BagTrailerbagR1l"],

            ["CDC_BagTrailerbagR1r", "CDC_BagTrailermountR1r"],
            ["CDC_BagTrailerbagR1r", "CDC_BagTrailermountR1rr"],
            ["CDC_BagTrailerbagR1l", "CDC_BagTrailermountR1ll"],
            ["CDC_BagTrailerbagR1l", "CDC_BagTrailermountR1l"],

            ["CDC_BagTrailermountR1rr", "CDC_BagTrailerrigR1r"],
            ["CDC_BagTrailermountR1r", "CDC_BagTrailerrigR1r"],
            ["CDC_BagTrailermountR1l", "CDC_BagTrailerrigR1r"],

            ["CDC_BagTrailermountR1ll", "CDC_BagTrailerrigR1l"],
            ["CDC_BagTrailermountR1l", "CDC_BagTrailerrigR1l"],
            ["CDC_BagTrailermountR1r", "CDC_BagTrailerrigR1l"],
          //mounts
          {"beamSpring":1501000,"beamDamp":75},
          {"beamDeform":82500,"beamStrength":320400},
            ["CDC_BagTrailermountR2r", "CDC_BagTrailermountR1r"],
            ["CDC_BagTrailermountR1r", "CDC_BagTrailermountR1rr"],
            ["CDC_BagTrailermountR1rr", "CDC_BagTrailermountR2r"],
            ["CDC_BagTrailermountR1rr", "CDC_BagTrailer2rr"],
            ["CDC_BagTrailermountR1r", "CDC_BagTrailer2rr"],
            ["CDC_BagTrailer2rr", "CDC_BagTrailermountR2r"],
            ["CDC_BagTrailermountR2r", "CDC_BagTrailer12rr"],
            ["CDC_BagTrailer12rr", "CDC_BagTrailermountR1rr"],
            ["CDC_BagTrailermountR1r", "CDC_BagTrailer12rr"],
            ["CDC_BagTrailermountR2r", "CDC_BagTrailer2r"],
            ["CDC_BagTrailermountR2r", "CDC_BagTrailer3r"],
            ["CDC_BagTrailermountR1r", "CDC_BagTrailer3rr"],
            ["CDC_BagTrailermountR1rr", "CDC_BagTrailer3rr"],
            ["CDC_BagTrailermountR2r", "CDC_BagTrailer3rr"],
            ["CDC_BagTrailer13rr", "CDC_BagTrailermountR1rr"],
            ["CDC_BagTrailermountR1r", "CDC_BagTrailer13rr"],

            ["CDC_BagTrailermountR2l", "CDC_BagTrailermountR1l"],
            ["CDC_BagTrailermountR1l", "CDC_BagTrailermountR1ll"],
            ["CDC_BagTrailermountR1ll", "CDC_BagTrailermountR2l"],
            ["CDC_BagTrailermountR1ll", "CDC_BagTrailer2ll"],
            ["CDC_BagTrailermountR1l", "CDC_BagTrailer2ll"],
            ["CDC_BagTrailer2ll", "CDC_BagTrailermountR2l"],
            ["CDC_BagTrailermountR2l", "CDC_BagTrailer12ll"],
            ["CDC_BagTrailer12ll", "CDC_BagTrailermountR1ll"],
            ["CDC_BagTrailermountR1l", "CDC_BagTrailer12ll"],
            ["CDC_BagTrailermountR2l", "CDC_BagTrailer2l"],
            ["CDC_BagTrailermountR2l", "CDC_BagTrailer3l"],
            ["CDC_BagTrailermountR1l", "CDC_BagTrailer3ll"],
            ["CDC_BagTrailermountR1ll", "CDC_BagTrailer3ll"],
            ["CDC_BagTrailermountR2l", "CDC_BagTrailer3ll"],
            ["CDC_BagTrailer13ll", "CDC_BagTrailermountR1ll"],
            ["CDC_BagTrailermountR1l", "CDC_BagTrailer13ll"],

//and hub to swivel point
             ["CDC_BagTrailermountR1r", "bgtax_R_3r"],
             ["CDC_BagTrailermountR1l", "bgtax_R_3r"],
            ["CDC_BagTrailermountR1rr", "bgtax_R_3r"],
            ["CDC_BagTrailermountR1r", "bgtax_R_5r"],
            ["CDC_BagTrailermountR1l", "bgtax_R_5r"],
            ["CDC_BagTrailermountR1rr", "bgtax_R_5r"],
            ["bgtax_R_4r", "CDC_BagTrailermountR1r"],
            ["bgtax_R_4r", "CDC_BagTrailermountR1rr"],

            ["CDC_BagTrailermountR1l", "bgtax_R_3l"],
            ["CDC_BagTrailermountR1r", "bgtax_R_3l"],
            ["CDC_BagTrailermountR1ll", "bgtax_R_3l"],
            ["CDC_BagTrailermountR1l", "bgtax_R_5l"],
            ["CDC_BagTrailermountR1r", "bgtax_R_5l"],
            ["CDC_BagTrailermountR1ll", "bgtax_R_5l"],
            ["bgtax_R_4l", "CDC_BagTrailermountR1l"],
            ["bgtax_R_4l", "CDC_BagTrailermountR1ll"],

          //--REAR WHEELS--
          {"beamSpring":5001000,"beamDamp":75},
          {"optional":true},
          {"beamDeform":50000,"beamStrength":150000},
          {"breakGroup":"wheel_RR"},
          ["bgtax_R_2r","rw1r"],
          ["bgtax_R_3r","rw1r"],
          ["bgtax_R_2r","rw1rr"],
          ["bgtax_R_3r","rw1rr"],
          ["bgtax_R_4r","rw1r"],
          ["bgtax_R_4r","rw1rr"],
          ["bgtax_R_5r","rw1r"],
          ["bgtax_R_5r","rw1rr"],
          ["rw1r","bgtax_R_lRR"],
          ["rw1rr","bgtax_R_lRR"],

          {"breakGroup":"wheel_RL"},
          ["bgtax_R_2l","rw1l"],
          ["bgtax_R_3l","rw1l"],
          ["bgtax_R_2l","rw1ll"],
          ["bgtax_R_3l","rw1ll"],
          ["bgtax_R_4l","rw1l"],
          ["bgtax_R_4l","rw1ll"],
          ["bgtax_R_5l","rw1l"],
          ["bgtax_R_5l","rw1ll"],
          ["rw1l","bgtax_R_lRL"],
          ["rw1ll","bgtax_R_lRL"],
          {"optional":false},
         {"breakGroup":""},		  
         {"beamPrecompression":1.0, "beamType":"|PRESSURED"},
          {"beamDeform":10000,"beamStrength":250000},
          {"beamSpring":0,"beamDamp":0},
          {"beamLimitSpring":0,"beamLimitDamp":0},
          ["CDC_BagTrailerbagR1r","CDC_BagTrailermountR2r",{"pressurePSI":"$airbag_R_pressure","surface":0.064,"volumeCoef":1.5,
        "name":"airbag_RR","soundFile":"art/sound/spring_creak2.ogg","volumeFactor":1,"decayMode":0,"decayFactor":1.5,"pitchFactor":1,"maxStress":18000}],
          ["CDC_BagTrailerbagR1l","CDC_BagTrailermountR2l",{"pressurePSI":"$airbag_R_pressure","surface":0.064,"volumeCoef":1.5,
        "name":"airbag_RL","soundFile":"art/sound/spring_compress.ogg","volumeFactor":0.2,"decayMode":1,"decayFactor":3.5,"pitchFactor":1,"maxStress":18000}],
          //dampers
          {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamSpring":0,"beamDamp":37000},
          {"beamLimitSpring":0,"beamLimitDamp":0},
          ["bgtax_R_3r","CDC_BagTrailermountR2r",{"beamDampFast":7300,"beamDampRebound":29000,"beamDampReboundFast":8200,"beamDampVelocitySplit":0.3}],
          ["bgtax_R_3l","CDC_BagTrailermountR2l",{"beamDampFast":7300,"beamDampRebound":29000,"beamDampReboundFast":8200,"beamDampVelocitySplit":0.3}],
          //shock and suspension friction
          {"beamSpring":0,"beamDamp":400000},
          ["bgtax_R_3r","CDC_BagTrailermountR2r",{"beamDampFast":0,"beamDampRebound":400000,"beamDampReboundFast":0,"beamDampVelocitySplit":0.0001}],
          ["bgtax_R_3l","CDC_BagTrailermountR2l",{"beamDampFast":0,"beamDampRebound":400000,"beamDampReboundFast":0,"beamDampVelocitySplit":0.0001}],
          //bump stops
          {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":1.0, "beamShortBound":0.20},
          {"beamSpring":0,"beamDamp":0},
          {"beamLimitSpring":1001000,"beamLimitDamp":10000},
          ["CDC_BagTrailerbagR1r","CDC_BagTrailermountR2r"{"beamLimitDampRebound":0,"dampCutoffHz":500}],
          ["CDC_BagTrailerbagR1l","CDC_BagTrailermountR2l"{"beamLimitDampRebound":0,"dampCutoffHz":500}],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
 
		  
		  //limiters
          {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":0.3, "beamShortBound":0.05},
          {"beamDeform":1000000,"beamStrength":250000000},
          {"beamSpring":0,"beamDamp":0},
          {"beamLimitSpring":1001000,"beamLimitDamp":100},
            ["CDC_BagTrailermountR2r", "bgtax_R_3r"],
            ["CDC_BagTrailermountR2l", "bgtax_R_3l"], 
		{"beamPrecompression":1.0, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},


    ],

    "triangles": [
            ["id1:","id2:","id3:"],
            //trailer
            //top
            {"group":"CDC_BagTrailer"},
            {"dragCoef":1},
            {"groundModel":"asphalt"},
            ["bgtax_R_3r", "bgtax_R_4r", "bgtax_R_5r"],
            ["bgtax_R_5r", "bgtax_R_2r", "bgtax_R_3r"],



            ["bgtax_R_5l", "bgtax_R_4l", "bgtax_R_3l"],
            ["bgtax_R_3l", "bgtax_R_2l", "bgtax_R_5l"],
			
            ["CDC_BagTrailermountR1ll", "CDC_BagTrailerbagR1l", "bgtax_R_3l"],
            ["bgtax_R_4l", "CDC_BagTrailermountR1ll", "bgtax_R_5l"],
            ["CDC_BagTrailermountR1ll", "bgtax_R_4l", "bgtax_R_3l"],
            ["CDC_BagTrailermountR1rr", "bgtax_R_4r", "bgtax_R_5r"],
            ["bgtax_R_3r", "bgtax_R_4r", "CDC_BagTrailerbagR1r"],
            [ "CDC_BagTrailermountR1rr","CDC_BagTrailerbagR1r", "bgtax_R_3r"],

            {"group":""},
	],
}

"CDC_BagTrailer_wheeldata_R": {
    "information":{
        "authors":"BeamNG",
        "name":"Spindles",
        "value":0,
    }
    "slotType" : "CDC_BagTrailer_wheeldata_R",
    "pressureWheels": [
        ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
        //rear
        {"selfCollision":false},
        {"collision":true},
        {"hubcapBreakGroup":"hubcap_RR"},
        {"hubcapGroup":"hubcap_RR"},
        {"axleBeams":["axle_R"]},
        ["R", "wheel_RR", "tire_RR", "rw1rr", "rw1r", 9999, "bgtax_R_4r", 1],
        {"hubcapBreakGroup":"hubcap_RL"},
        {"hubcapGroup":"hubcap_RL"},
        {"axleBeams":["axle_L"]},
        ["L", "wheel_RL", "tire_RL", "rw1ll", "rw1l", 9999, "bgtax_R_4l",  -1],
        {"selfCollision":true},
        {"hubcapBreakGroup":""},
        {"hubcapGroup":""},
        {"axleBeams":[]},{"disableMeshBreaking":false,"disableTriangleBreaking":false},
        {"enableHubcaps":false},
        {"enableTireLbeams":false},
        {"enableTreadReinfBeams":false},
        {"enableTireReinfBeams":false},
        {"enableTreadReinfBeams":false},
    ],
},
"CDC_BagTrailer_brake_R": {
    "information":{
        "authors":"BeamNG",
        "name":"Brakes",
        "value":200,
    }
    "slotType" : "CDC_BagTrailer_brake_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //brake discs
         ["CDC_BagTrailer_disc_RR", ["wheel_RR","wheelhub_RR"], [], {"pos":{"x":0.0, "y":0.0, "z":0.0}}],
         ["CDC_BagTrailer_disc_RL", ["wheel_RL","wheelhub_RL"], [], {"pos":{"x":0.0, "y":0.0, "z":0.0}}],
    ],
    "pressureWheels": [
            ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
            //brakes
            {"brakeTorque":1000},
            {"parkingTorque":1200},
    ],
    "engine":{
        "brakePressureDelay":0.2,
    },

}
"CDC_BagTrailer_fender_R":{
    "information":{
        "authors":"Blijo",
        "name":"Rear Fender",
        "value":200,
    }
    "slotType" : "CDC_BagTrailer_fender_R",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["CDC_BagTrailer_fender_RR", ["CDC_BagTrailer_fender_RR"], [], {"pos":{"x":0.0, "y":0.0, "z":0.0}}],
         ["CDC_BagTrailer_fender_RL", ["CDC_BagTrailer_fender_RL"], [], {"pos":{"x":0.0, "y":0.0, "z":0.0}}],
     ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--REAR DEAD AXLE SUSPENSION--
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"nodeWeight":4.5},
         {"selfCollision":true}
         {"collision":true}
        {"group":"CDC_BagTrailer_fender_RL"},
		{"nodeWeight":1},
		["bgtfen_R_1l", 1.05000, 6.59000, 0.95000],
		["bgtfen_R_1ll", 1.21000, 6.59000, 0.95000],

		["bgtfen_R_2l", 1.05000, 6.110000, 1.10000],
		["bgtfen_R_2ll", 1.21000, 6.110000, 1.10000],

		["bgtfen_R_3l", 1.05000, 5.910000, 0.83000],
		["bgtfen_R_3ll", 1.21000, 5.910000, 0.83000],
		
        {"group":"CDC_BagTrailer_fender_RR"},
		{"nodeWeight":1},
		["bgtfen_R_1r", -1.05000, 6.59000, 0.95000],
		["bgtfen_R_1rr", -1.21000, 6.59000, 0.95000],

		["bgtfen_R_2r", -1.05000, 6.110000, 1.10000],
		["bgtfen_R_2rr", -1.21000, 6.110000, 1.10000],

		["bgtfen_R_3r", -1.05000, 5.910000, 0.83000],
		["bgtfen_R_3rr", -1.21000, 5.910000, 0.83000],

         {"group":""},
    ],
	
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1.0, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
          {"beamDeform":95000,"beamStrength":325000},	
//Fender RL
          {"beamSpring":81000,"beamDamp":75},
            ["bgtfen_R_1ll", "bgtfen_R_2ll"],
            ["bgtfen_R_2ll", "bgtfen_R_3ll"],
            ["bgtfen_R_3ll", "bgtfen_R_3l"],
            ["bgtfen_R_3l", "bgtfen_R_2l"],
            ["bgtfen_R_2l", "bgtfen_R_2ll"],
            ["bgtfen_R_2l", "bgtfen_R_1l"],
            ["bgtfen_R_1l", "bgtfen_R_1ll"],
            ["bgtfen_R_2l", "bgtfen_R_3ll"],
            ["bgtfen_R_2l", "bgtfen_R_1ll"],
            ["bgtfen_R_3l", "bgtfen_R_1l"],
            ["bgtfen_R_1ll", "bgtfen_R_3ll"],
			
		  {"beamSpring":161000,"beamDamp":75},
          {"beamDeform":5000,"beamStrength":7500},
		  
          {"breakGroup":"fender_RL"},
		  {"breakGroupType":0}
				
            ["bgtfen_R_3l", "bgtax_R_2l"],
            ["bgtfen_R_2l", "bgtax_R_2l"],
            ["bgtfen_R_3ll", "bgtax_R_2l"],
            ["bgtfen_R_2l", "bgtax_R_3l"],
            ["bgtfen_R_2ll", "bgtax_R_3l"],
            ["bgtfen_R_1l", "CDC_BagTrailerbagR1l"],
            ["bgtfen_R_1ll", "CDC_BagTrailerbagR1l"],
            ["bgtfen_R_1ll", "CDC_BagTrailermountR1ll"],
            ["bgtfen_R_3l", "bgtax_R_5l"],
            ["bgtfen_R_2ll", "bgtax_R_2l"],
			
            ["bgtfen_R_2ll", "CDC_BagTrailerbagR1l"],
            ["bgtfen_R_2ll", "CDC_BagTrailerrigR1l"],
            ["bgtfen_R_2l", "CDC_BagTrailerrigR1l"],
            ["bgtfen_R_1l", "CDC_BagTrailerrigR1l"],
            ["bgtfen_R_3l", "CDC_BagTrailerrigR1l"],

//Fender RR
          {"beamSpring":81000,"beamDamp":75},
            ["bgtfen_R_1rr", "bgtfen_R_2rr"],
            ["bgtfen_R_2rr", "bgtfen_R_3rr"],
            ["bgtfen_R_3rr", "bgtfen_R_3r"],
            ["bgtfen_R_3r", "bgtfen_R_2r"],
            ["bgtfen_R_2r", "bgtfen_R_2rr"],
            ["bgtfen_R_2r", "bgtfen_R_1r"],
            ["bgtfen_R_1r", "bgtfen_R_1rr"],
            ["bgtfen_R_2r", "bgtfen_R_3rr"],
            ["bgtfen_R_2r", "bgtfen_R_1rr"],
            ["bgtfen_R_3r", "bgtfen_R_1r"],
            ["bgtfen_R_1rr", "bgtfen_R_3rr"],
			
		  {"beamSpring":161000,"beamDamp":75},
          {"beamDeform":5000,"beamStrength":7500},
		  
          {"breakGroup":"fender_RR"},
		  {"breakGroupType":0}
				
            ["bgtfen_R_3r", "bgtax_R_2r"],
            ["bgtfen_R_2r", "bgtax_R_2r"],
            ["bgtfen_R_3rr", "bgtax_R_2r"],
            ["bgtfen_R_2r", "bgtax_R_3r"],
            ["bgtfen_R_2rr", "bgtax_R_3r"],
            ["bgtfen_R_1r", "CDC_BagTrailerbagR1r"],
            ["bgtfen_R_1rr", "CDC_BagTrailerbagR1r"],
            ["bgtfen_R_1rr", "CDC_BagTrailermountR1rr"],
            ["bgtfen_R_3r", "bgtax_R_5r"],
            ["bgtfen_R_2rr", "bgtax_R_2r"],
            ["bgtfen_R_2rr", "CDC_BagTrailerbagR1r"],
			
            ["bgtfen_R_2rr", "CDC_BagTrailerrigR1r"],
            ["bgtfen_R_2r", "CDC_BagTrailerrigR1r"],
            ["bgtfen_R_1r", "CDC_BagTrailerrigR1r"],
            ["bgtfen_R_3r", "CDC_BagTrailerrigR1r"],
          {"breakGroup":""},
		  {"breakGroupType":1}			
	],		
   "triangles": [
            ["id1:","id2:","id3:"],
            //trailer
            //top
            {"group":"CDC_BagTrailer"},
            {"dragCoef":1},
            {"groundModel":"asphalt"},			
//fender
            ["bgtfen_R_2ll", "bgtfen_R_3l", "bgtfen_R_3ll"],
            ["bgtfen_R_2ll", "bgtfen_R_2l", "bgtfen_R_3l"],
            ["bgtfen_R_2l", "bgtfen_R_1ll", "bgtfen_R_1l"],
            ["bgtfen_R_2l", "bgtfen_R_2ll", "bgtfen_R_1ll"],
            ["bgtfen_R_3l", "bgtfen_R_2l", "bgtfen_R_1l"],
			
           ["bgtfen_R_2rr", "bgtfen_R_3rr", "bgtfen_R_3r"],
            ["bgtfen_R_3r", "bgtfen_R_2r", "bgtfen_R_2rr"],
            ["bgtfen_R_2r", "bgtfen_R_1r", "bgtfen_R_1rr"],
            ["bgtfen_R_2r", "bgtfen_R_1rr", "bgtfen_R_2rr"],
            ["bgtfen_R_1r", "bgtfen_R_2r", "bgtfen_R_3r"],
			


            {"group":""},
	],	
}

"CDC_BagTrailer_sway_R": {
    "information":{
        "authors":"BeamNG",
        "name":"Sway Bar",
        "value":350,
    }
    "slotType" : "CDC_BagTrailer_sway_R",

    "torsionbars": [
        ["id1:", "id2:", "id3:", "id4:"],
        //13mm 637
        //14mm 857
        //15mm 1130
        //16mm 1463
        //17mm 1864
        {"spring":2435, "damp":10, "deform":"FLT_MAX", "strength":"FLT_MAX"},
        ["CDC_BagTrailerrigR1r", "CDC_BagTrailermountR1r", "CDC_BagTrailermountR1l", "CDC_BagTrailerrigR1l"],
    ],
    "beams": [
          ["id1:", "id2:"],
          //--ANTI-ROLL--
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
          {"beamSpring":5001000,"beamDamp":100},
          {"beamDeform":100000,"beamStrength":700000},
          //end links
          ["CDC_BagTrailermountR1r","CDC_BagTrailermountR1l"],
     
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
}
}