{
"BB_RockBouncer_Axle_F": {
    "information":{
        "authors":"BeamNG",
        "name":"HD Trussed Dana60 Axle",
        "value":12500,
    },
    "slotType" : "BB_RockBouncer_Axle_F",
	"slots": [
	["type", "default", "description"],
		["BB_RockBouncer_Steering", "BB_RockBouncer_Steering", "Front Steering System"],
		["BB_RockBouncer_Differential_F", "BB_RockBouncer_Differential_F", "Front Differential Internals"],
		["BB_RockBouncer_driveshaft_F", "BB_RockBouncer_driveshaft_F", "Front Driveshaft"],
		["BB_RockBouncer_shocks_F", "BB_RockBouncer_shocks_F", "Front Shocks"],
        ["BB_RockBouncer_brake_F","BB_RockBouncer_brake_F", "Brakes"],
        ["pickup_hub_F","pickup_hub_F","Front Wheels", {"nodeMove":{"x":0, "y":-0.6, "z":-0.6}}],		
        ["BB_RockBouncer_wheeldata_F","BB_RockBouncer_wheeldata_F", "Front Spindles", {"coreSlot":true}],		
	],	
    "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"],
        ["$trackoffset_F", "range", "+m", "Wheels", 0.25, 0.0, 0.35, "Wheel Offset", "Spacing of Rim from Steering-Knuckle", {"stepDis":0.005,"subCategory":"Front"}],
        ["$caster_F3", "range", "", "Wheel Alignment", 0, -0.025, 0.025, "Caster Adjust", "Adjusts forward rake of the steering axis", {"subCategory":"Front"}],
        ["$axlelocation_F3", "range", "m", "Wheel Alignment", 0.0, -0.2, 0.3, "Axle Offset", "Adjust the axle forward/rearward position", {"stepDis":0.001,"subCategory":"Front"}], 	
    ],	
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
         ["BB_RockBouncer_AxleF", ["BB_Axle_F"]],	 
         ["BB_RockBouncer_HubFL", ["BB_Knuckle_FL"]],	 
         ["BB_RockBouncer_HubFRR", ["BB_Knuckle_FR"]],	 
         ["BB_RockBouncer_4L1", ["BB_RockBouncer_lowerlink_FL"]],	 
         ["BB_RockBouncer_4L2", ["BB_RockBouncer_upperlinks_FL"]],	 
         ["BB_RockBouncer_4L3", ["BB_RockBouncer_upperlinks_FR"]],	 
         ["BB_RockBouncer_4L4", ["BB_RockBouncer_4L4"]],	 
    ],
    "rails": {
        "BB_Axle_Tierod":{"links:":["BBHubFL1", "BBHubFR1"], "broken:":[], "looped":false, "capped":true},
        "BB_Axle_F_Support":{"links:":["BBHubFL3", "BBHubFR3"], "broken:":[], "looped":false, "capped":true},
    },
    "nodes": [
        ["id", "posX", "posY", "posZ"],
        {"frictionCoef":0.5},
        {"nodeMaterial":"|NM_METAL"},
        {"collision":true},
        {"selfCollision":true},
        {"nodeWeight":11.00},		
        {"group":"BB_Axle_F"},		
            ["BBAxleF0", 0.63968, -1.99135, -0.08130],
            ["BBAxleF1", 0.63968, -1.99135, -0.19837],
            ["BBAxleF2", 0.63968, -2.11533, -0.13425],
            ["BBAxleF3", -0.63968, -1.99135, -0.08130],
            ["BBAxleF4", -0.63968, -1.99135, -0.19837],
            ["BBAxleF5", -0.63968, -2.11533, -0.13425],
            ["BBAxleF6", -0.27724, -1.99135, 0.03865],
            ["BBAxleF7", -0.27724, -1.99135, -0.29811],
            ["BBAxleF8", -0.27724, -2.11284, 0.03865],
            ["BBAxleF9", -0.27724, -2.11284, -0.29811],
            ["BBAxleF10", -0.26017, -1.72175, -0.16622],
        {"nodeWeight":7.65},		
        {"group":"BB_Knuckle_FL"},			
            ["BBHubFL1", 0.78256, -2.18123, -0.17187],
            ["BBHubFL2", 0.78256, -2.18126, -0.07737],
            ["BBHubFL3", 0.75627, -2.03345, 0.02249],
            ["BBHubFL4", 0.75627, -2.03345, -0.29007],
            ["BBHubFL5", 0.89958, -1.90157, -0.12904],
        {"group":"BB_Knuckle_FR"},				
            ["BBHubFR1", -0.78256, -2.18123, -0.17187],
            ["BBHubFR2", -0.78256, -2.18126, -0.07737],
            ["BBHubFR3", -0.75627, -2.03345, 0.02249],
            ["BBHubFR4", -0.75627, -2.03345, -0.29007],
            ["BBHubFR5", -0.89958, -1.90157, -0.12904],			
        {"nodeWeight":11.50},
        {"group":"BB_RockBouncer_axle_F_Diff"},
		
        {"group":"BB_RockBouncer_axleShaft_FL"},
		
        {"group":"BB_RockBouncer_axleShaft_FR"},				

        {"group":"BB_RockBouncer_BumpStop_F"},	        

        {"selfCollision":true},
        {"selfCollision":false},

//SwayBars
        {"nodeWeight":12},
        {"collision":false},
		        {"group":"BB_RockBouncer_SwayBar_F"},
        //    ["BBAxleTechSWBFL", 0.51944, -1.62293, 0.76346, {"group":["BB_RockBouncer_axle_F","swaybar_F","swaybar_FL"]}],
       //     ["BBAxleTechSWBFR", -0.51891, -1.62293, 0.76346, {"group":["BB_RockBouncer_axle_F","swaybar_F","swaybar_FR"]}],
        {"collision":true},


        {"group":"BB_RockBouncer_axle_F"},
        //lower link mounts
        {"nodeWeight":13},
        {"selfCollision":true},		
        {"group":"BB_RockBouncer_lowerlink_FL"},			
            ["BBAxleTech4L1", 0.58151, -1.86481, -0.15206],
            ["BBAxleTech4L2", 0.50826, -1.86856, -0.15206],
        {"group":"BB_RockBouncer_4L4"},					
            ["BBAxleTech4L8", -0.57305, -1.86481, -0.15206],
            ["BBAxleTech4L7", -0.49942, -1.86856, -0.15206],			
        {"group":"BB_RockBouncer_axle_F"},
        {"nodeWeight":13},
        {"selfCollision":false},
            ["BBAxleTech4L4", 0.04697, -2.02037, 0.07094, {"group":["BB_RockBouncer_axle_F","BB_RockBouncer_upperlinks_FL"]}],
            ["BBAxleTech4L6", -0.09160, -2.02037, 0.07094, {"group":["BB_RockBouncer_axle_F","BB_RockBouncer_upperlinks_FR"]}],
        {"nodeWeight":12},
        //shock
         //   ["BBAxleTechSMFR1", -0.69810, -1.75613, 0.74661, {"group":["BB_RockBouncer_axle_F","BB_RockBouncer_shockbottom_F"]}],
         //   ["BBAxleTechSMFR2", -0.69835, -1.66774, 0.74455, {"group":["BB_RockBouncer_axle_F","BB_RockBouncer_shockbottom_F"]}],
         //   ["BBAxleTechSMFL1", 0.69802, -1.75613, 0.74661, {"group":["BB_RockBouncer_axle_F","BB_RockBouncer_shockbottom_F"]}],
         //   ["BBAxleTechSMFL2", 0.69827, -1.66774, 0.74455, {"group":["BB_RockBouncer_axle_F","BB_RockBouncer_shockbottom_F"]}],,

    ],
    "beams": [
          ["id1:", "id2:"],
{
  "beamSpring": 2500000, "beamDamp": 150, "beamDeform": 1200000, "beamStrength": 1800000}
		              ["BBAxleF6", "BBAxleF7"],
            ["BBAxleF7", "BBAxleF8"],
            ["BBAxleF8", "BBAxleF9"],
            ["BBAxleF9", "BBAxleF6"],
            ["BBAxleF6", "BBAxleF10"],
            ["BBAxleF10", "BBAxleF7"],
            ["BBAxleF7", "BBAxleF9"],
            ["BBAxleF8", "BBAxleF6"],
            ["BBAxleF6", "BBAxleF3"],
            ["BBAxleF8", "BBAxleF3"],
            ["BBAxleF3", "BBAxleF9"],
            ["BBAxleF7", "BBAxleF3"],
            ["BBAxleF4", "BBAxleF7"],
            ["BBAxleF9", "BBAxleF4"],
            ["BBAxleF4", "BBAxleF8"],
            ["BBAxleF6", "BBAxleF4"],
            ["BBAxleF4", "BBAxleF3"],
            ["BBAxleF3", "BBAxleF5"],
            ["BBAxleF5", "BBAxleF4"],
            ["BBAxleF5", "BBAxleF8"],
            ["BBAxleF6", "BBAxleF5"],
            ["BBAxleF5", "BBAxleF9"],
            ["BBAxleF7", "BBAxleF5"],
            ["BBAxleF5", "BBAxleF10"],
            ["BBAxleF3", "BBAxleF10"],
            ["BBAxleF4", "BBAxleF10"],
            ["BBAxleF7", "BBAxleF1"],
            ["BBAxleF1", "BBAxleF9"],
            ["BBAxleF9", "BBAxleF2"],
            ["BBAxleF2", "BBAxleF7"],
            ["BBAxleF2", "BBAxleF1"],
            ["BBAxleF2", "BBAxleF8"],
            ["BBAxleF8", "BBAxleF1"],
            ["BBAxleF1", "BBAxleF6"],
            ["BBAxleF6", "BBAxleF2"],
            ["BBAxleF0", "BBAxleF7"],
            ["BBAxleF9", "BBAxleF0"],
            ["BBAxleF0", "BBAxleF8"],
            ["BBAxleF6", "BBAxleF0"],
            ["BBAxleF0", "BBAxleF2"],
            ["BBAxleF2", "BBAxleF10"],
            ["BBAxleF10", "BBAxleF0"],
            ["BBAxleF1", "BBAxleF10"],
            ["BBAxleF0", "BBAxleF1"],
            ["BBAxleF2", "BBAxleF5"],
            ["BBAxleF3", "BBAxleF0"],
            ["BBAxleF1", "BBAxleF4"],
            ["BBAxleF4", "BBAxleF0"],
            ["BBAxleF1", "BBAxleF3"],
            ["BBAxleF3", "BBAxleF2"],
            ["BBAxleF0", "BBAxleF5"],
            ["BBAxleF5", "BBAxleF1"],
            ["BBAxleF2", "BBAxleF4"],
            ["BBAxleTech4L6", "BBAxleTech4L4"],


//Hubs
        {"breakGroup":""},	
  {"beamSpring": 5000000, "beamDamp": 500, "beamDeform": 999999999, "beamStrength": 999999999},
//Right
        {"group":"BB_RockBouncer_Hub_FR"},
            ["BBHubFR3", "BBHubFR4"],
            ["BBHubFR4", "BBHubFR5"],
            ["BBHubFR5", "BBHubFR2"],
            ["BBHubFR2", "BBHubFR1"],
            ["BBHubFR1", "BBHubFR3"],
            ["BBHubFR3", "BBHubFR2"],
            ["BBHubFR5", "BBHubFR3"],
            ["BBHubFR1", "BBHubFR4"],
            ["BBHubFR4", "BBHubFR2"],
            ["BBHubFR1", "BBHubFR5"],

            ["BBHubFR3", "BBAxleF3"],
            ["BBHubFR3", "BBAxleF4"],
            ["BBHubFR3", "BBAxleF5"],
            ["BBHubFR3", "BBAxleF6"],
            ["BBHubFR3", "BBAxleF8"],
            ["BBAxleF3", "BBHubFR4"],
            ["BBAxleF5", "BBHubFR4"],
            ["BBAxleF4", "BBHubFR4"],
            ["BBHubFR4", "BBAxleF9"],
            ["BBHubFR4", "BBAxleF7"],
            ["BBHubFR3", "BBAxleF7"],
            ["BBHubFR3", "BBAxleF9"],
            ["BBHubFR4", "BBAxleF8"],
            ["BBHubFR4", "BBAxleF6"],
            ["BBHubFR4", "BBAxleF10"],
            ["BBHubFR3", "BBAxleF10"],




//Left
        {"group":"BB_RockBouncer_Hub_FL"},
            ["BBHubFL5", "BBHubFL3"],
            ["BBHubFL3", "BBHubFL2"],
            ["BBHubFL2", "BBHubFL1"],
            ["BBHubFL1", "BBHubFL4"],
            ["BBHubFL4", "BBHubFL5"],
            ["BBHubFL5", "BBHubFL2"],
            ["BBHubFL2", "BBHubFL4"],
            ["BBHubFL4", "BBHubFL3"],
            ["BBHubFL3", "BBHubFL1"],
            ["BBHubFL1", "BBHubFL5"],


            ["BBHubFL3", "BBAxleF0"],
            ["BBHubFL3", "BBAxleF1"],
            ["BBHubFL3", "BBAxleF2"],
            ["BBHubFL4", "BBAxleF1"],
            ["BBHubFL4", "BBAxleF2"],
            ["BBHubFL4", "BBAxleF0"],
            ["BBHubFL4", "BBAxleF7"],
            ["BBHubFL4", "BBAxleF9"],
            ["BBHubFL3", "BBAxleF8"],
            ["BBHubFL3", "BBAxleF6"],
            ["BBHubFL3", "BBAxleF10"],
            ["BBHubFL4", "BBAxleF10"],
            ["BBHubFL4", "BBAxleF6"],
            ["BBHubFL4", "BBAxleF8"],
            ["BBHubFL3", "BBAxleF7"],
            ["BBHubFL3", "BBAxleF9"],
            ["BBHubFL3", "BBAxleTech4L4"],




   
          //tie rod
        {"group":"BB_Axle_Tierod"},		 
		{"beamPrecompression": 1.0},		
          {"beamSpring":8001000,"beamDamp":100},
          {"beamDeform":78800,"beamStrength":195000},		  
            ["BBHubFR1", "BBHubFL1"],




          //attach to wheel
          {"optional":true},
          {"beamSpring":9501000,"beamDamp":15},
          {"beamDeform":"FLT_MAX","beamStrength":425000},
          {"group":"wheel_FR"},
          {"breakGroup":"wheel_FR"},
            ["fw1r", "BBHubFR1"],
            ["fw1r", "BBHubFR2"],
            ["fw1r", "BBHubFR3" {"group":"BBhalfshaftFR"}],
            ["fw1r", "BBHubFR4"],
            ["fw1r", "BBHubFR5"],
            ["fw1rr", "BBHubFR1"],
            ["fw1rr", "BBHubFR2"],
            ["fw1rr", "BBHubFR3"],
            ["fw1rr", "BBHubFR4"],
            ["fw1rr", "BBHubFR5"],
          {"group":"wheel_FL"},
          {"breakGroup":"wheel_FL"},
            ["fw1l", "BBHubFL1"],
            ["fw1l", "BBHubFL2"],
            ["fw1l", "BBHubFL3" {"group":"BBhalfshaftFL"}],
            ["fw1l", "BBHubFL4"],
            ["fw1l", "BBHubFL5"],
            ["fw1ll", "BBHubFL1"],
            ["fw1ll", "BBHubFL2"],
            ["fw1ll", "BBHubFL3"],
            ["fw1ll", "BBHubFL4"],
            ["fw1ll", "BBHubFL5"],

          {"group":""},
          {"breakGroup":""},
          {"optional":false},

          //sway bar axle mounts
          {"beamSpring":7901000,"beamDamp":250},
          {"beamDeform":"FLT_MAX","beamStrength":"FLT_MAX"},
//L
		        {"breakGroup":"BB_RockBouncer_SwayBar_FL"},


//R
		        {"breakGroup":"BB_RockBouncer_SwayBar_FR"},

		        {"breakGroup":""},
          //shock mounts
          {"beamSpring":3201000,"beamDamp":250},
          {"beamDeform":"FLT_MAX","beamStrength":"FLT_MAX"},





          //extra collision node
          {"beamSpring":2001000,"beamDamp":50},
 
          {"deformLimitExpansion":""},

//4LINKSAttatch
        {"beamSpring": 2500000, "beamDamp": 150, "beamDeform": 1200000, "beamStrength": 1800000}
        {"group":"BB_RockBouncer_4L4"},	
        {"breakGroup":"BB_RockBouncer_4L4"},			
            ["BBAxleTech4L8", "BBAxleF4"],
            ["BBAxleTech4L7", "BBAxleF4"],
            ["BBAxleTech4L8", "BBAxleF3"],
            ["BBAxleTech4L7", "BBAxleF3"],
            ["BBAxleTech4L8", "BBHubFR3"],
            ["BBAxleTech4L7", "BBHubFR3"],
            ["BBAxleTech4L7", "BBAxleF7"],
            ["BBAxleTech4L7", "BBAxleF9"],
            ["BBAxleTech4L7", "BBAxleF6"],
            ["BBAxleTech4L7", "BBAxleF8"],
            ["BBAxleTech4L8", "BBAxleF7"],
            ["BBAxleTech4L8", "BBAxleF6"],
            ["BBAxleTech4L8", "BBAxleF9"],
            ["BBAxleTech4L8", "BBAxleF8"],
            ["BBAxleTech4L7", "BBAxleTech4L8"],

            ["BBRockB119", "BBAxleTech4L7", {"precompressionRange":"$=$caster_F3+$axlelocation_F3","beamPrecompressionTime":0.1,"dampCutoffHz":500}]	
            ["BBAxleTech4L8", "BBRockB119", {"precompressionRange":"$=$caster_F3+$axlelocation_F3","beamPrecompressionTime":0.1,"dampCutoffHz":500}]	
            ["BBRockB119", "BBAxleTech4L2", {"precompressionRange":"$=$caster_F3+$axlelocation_F3","beamPrecompressionTime":0.1,"dampCutoffHz":500}]	
            ["BBRockB119", "BBAxleTech4L1", {"precompressionRange":"$=$caster_F3+$axlelocation_F3","beamPrecompressionTime":0.1,"dampCutoffHz":500}]	



        {"group":"BB_RockBouncer_lowerlink_FL"},
        {"breakGroup":"BB_RockBouncer_lowerlink_FL"},
            ["BBAxleTech4L1", "BBAxleF1"],
            ["BBAxleTech4L1", "BBAxleF2"],
            ["BBAxleTech4L1", "BBAxleF0"],
            ["BBAxleTech4L2", "BBAxleF1"],
            ["BBAxleTech4L2", "BBAxleF0"],
            ["BBAxleTech4L2", "BBAxleF2"],
            ["BBAxleTech4L2", "BBAxleF7"],
            ["BBAxleTech4L2", "BBAxleF9"],
            ["BBAxleTech4L2", "BBAxleF6"],
            ["BBAxleTech4L2", "BBAxleF8"],
            ["BBAxleTech4L1", "BBAxleF8"],
            ["BBAxleTech4L1", "BBAxleF9"],
            ["BBAxleTech4L1", "BBAxleF10"],
            ["BBAxleTech4L2", "BBAxleF10"],
            ["BBAxleTech4L1", "BBAxleTech4L2"],

            ["BBRockB88", "BBAxleTech4L1", {"precompressionRange":"$=$caster_F3+$axlelocation_F3","beamPrecompressionTime":0.1,"dampCutoffHz":500}]	
            ["BBRockB88", "BBAxleTech4L2", {"precompressionRange":"$=$caster_F3+$axlelocation_F3","beamPrecompressionTime":0.1,"dampCutoffHz":500}]	
            ["BBRockB88", "BBAxleTech4L7", {"precompressionRange":"$=$caster_F3+$axlelocation_F3","beamPrecompressionTime":0.1,"dampCutoffHz":500}]	
            ["BBRockB88", "BBAxleTech4L8", {"precompressionRange":"$=$caster_F3+$axlelocation_F3","beamPrecompressionTime":0.1,"dampCutoffHz":500}]	


        {"group":"BB_RockBouncer_upperlinks_FL"},
        {"breakGroup":"BB_RockBouncer_upperlinks_FL"},			
            ["BBAxleTech4L4", "BBAxleF8"],
            ["BBAxleTech4L4", "BBAxleF10"],
            ["BBAxleTech4L4", "BBAxleF6"],
            ["BBAxleTech4L4", "BBAxleF7"],
            ["BBAxleTech4L4", "BBAxleF9"],
            ["BBAxleTech4L4", "BBAxleF0"],
            ["BBAxleTech4L4", "BBAxleF2"],
            ["BBAxleTech4L4", "BBAxleF1"],
            ["BBAxleTech4L4", "BBAxleF3"],


            ["BBRockB90", "BBAxleTech4L4"],
            ["BBRockB90", "BBAxleTech4L6"],


        {"group":"BB_RockBouncer_upperlinks_FR"}
        {"breakGroup":"BB_RockBouncer_upperlinks_FR"}
            ["BBAxleTech4L6", "BBAxleF6"],
            ["BBAxleTech4L6", "BBAxleF8"],
            ["BBAxleTech4L6", "BBAxleF7"],
            ["BBAxleTech4L6", "BBAxleF9"],
            ["BBAxleTech4L6", "BBAxleF4"],
            ["BBAxleTech4L6", "BBAxleF5"],
            ["BBAxleTech4L6", "BBAxleF3"],
            ["BBAxleTech4L6", "BBAxleF2"],
            ["BBAxleTech4L6", "BBAxleF1"],


            ["BBRockB121", "BBAxleTech4L4"],
            ["BBRockB121", "BBAxleTech4L6"],


        {"breakGroup":""}	
			
//4LinkHelpers
        {"group":""}	
          {"beamDeform":999999,"beamStrength":"FLT_MAX"},		
          {"beamSpring":0,"beamDamp":10000},	
           // ["DRMTV2F62", "BBAxleTech4L4", {"precompressionRange":"$=$caster_F3+$axlelocation_F3","beamPrecompressionTime":0.1,"dampCutoffHz":500}]	
            ["BBAxleTech4L1", "BBRockB119", {"precompressionRange":"$=$caster_F3+$axlelocation_F3","beamPrecompressionTime":0.1,"dampCutoffHz":500}]	
            ["BBRockB119", "BBAxleTech4L2", {"precompressionRange":"$=$caster_F3+$axlelocation_F3","beamPrecompressionTime":0.1,"dampCutoffHz":500}]	
            ["BBRockB88", "BBAxleTech4L7", {"precompressionRange":"$=$caster_F3+$axlelocation_F3","beamPrecompressionTime":0.1,"dampCutoffHz":500}]	
            ["BBAxleTech4L8", "BBRockB88", {"precompressionRange":"$=$caster_F3+$axlelocation_F3","beamPrecompressionTime":0.1,"dampCutoffHz":500}]	,
            ["BBAxleTech4L6", "BBRockB90", {"precompressionRange":"$=$caster_F3+$axlelocation_F3","beamPrecompressionTime":0.1,"dampCutoffHz":500}]	
            ["BBAxleTech4L4", "BBRockB121", {"precompressionRange":"$=$caster_F3+$axlelocation_F3","beamPrecompressionTime":0.1,"dampCutoffHz":500}]	

		  

        {"group":"BB_RockBouncer_axle_F"},
          //front limiters
          {"beamPrecompression":1, "beamType":"|SUPPORT", "beamLongBound":2},
          {"beamSpring":2501000,"beamDamp":50,"beamDeform":"FLT_MAX","beamStrength":"FLT_MAX"},
          //steering anti-invert
          {"beamPrecompression":0.91},
          ["fax5r","fax3"],
          {"beamPrecompression":0.88},
          ["fax5l","fax3"],
          {"beamPrecompression":0.74}
          ["fax6r","faxs2r"],
          ["fax6l","faxs2l"],
          {"beamPrecompression":0.83}
          ["fax6r","fax1"],
          {"beamPrecompression":0.78}
          ["fax6l","fax1"],

          //axle to frame limits
          {"beamPrecompression":1, "beamType":"|SUPPORT", "beamLongBound":4},
          {"beamSpring":2501000,"beamDamp":50,"beamDeform":50000,"beamStrength":500000},
          {"beamPrecompression":0.7},

          {"deformLimitExpansion":1.2},
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
    "triangles": [
            ["id1:","id2:","id3:"],
        {"dragCoef":5},
            {"triangleType":"NONCOLLIDABLE"},
        {"group":"BB_RockBouncer_Hub_FL"},

        {"group":"BB_RockBouncer_Hub_FR"},

            {"triangleType":"NORMALTYPE"},
        {"group":"BB_Axle_F"},


    ],
},
"BB_RockBouncer_Steering": {
    "information":{
        "authors":"BeamNG",
        "name":"Hydraulic Steering",
        "value":1400,
    },
    "slotType" : "BB_RockBouncer_Steering",
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["BBDonRaceMega_HydroF", ["BB_RockBouncer_axle_F"]],
        ["BBDonRaceMega_TierodF", ["BB_Axle_Tierod"]],
        ["BBDonRaceMega_SteerF", ["BB_RockBouncer_Tierod"]],
    ],
    "slots": [
        ["type", "default", "description"],	
        ["BBDonRace_Hubs_F","BBDonRace_Hubs_F","Hub Housings", {"coreSlot":true}],						
    ],	
    //steering rack rail
    "rails": {
        "steeringrack_main":{"links:":["BBAxleTechHydroFR", "BBAxleTechHydroFL"], "broken:":[], "looped":false, "capped":true},
        "steeringrack_extra":{"links:":["BBAxleTechHydroFR2", "BBAxleTechHydroFL2"], "broken:":[], "looped":false, "capped":true},
    },
    "slidenodes": [
        ["id:", "railName", "attached", "fixToRail", "tolerance", "spring", "strength", "capStrength"],
        ["BBAxleHydroFR", "steeringrack_main", true, true, 0.0, 20001000, "FLT_MAX", "FLT_MAX"],
        ["BBAxleHydroFL", "steeringrack_main", true, true, 0.0, 20001000, "FLT_MAX", "FLT_MAX"],
       // ["BBAxleHydroFR2", "steeringrack_main", true, true, 0.0, 1001000, "FLT_MAX", "FLT_MAX"],
       // ["BBAxleHydroFL2", "steeringrack_main", true, true, 0.0, 1001000, "FLT_MAX", "FLT_MAX"],
    ],
    "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"],
        ["$desert_toe_SFA", "range", "", "Wheel Alignment", 0.999, 1.02, 0.98, "Toe Adjust", "Adjusts the wheel toe-in angle", {"subCategory":"Front"}],
        ["$desert_steer_center_SFA", "range", "", "Wheel Alignment", 0, -0.001, 0.001, "Toe Left/Right Trim", "Fine tunes the centerpoint of the steering", {"subCategory":"Front"}]
    ],
    "nodes": [
        ["id", "posX", "posY", "posZ"],
        {"selfCollision":false},
        {"collision":true},
        {"nodeMaterial":"|NM_METAL"},
        {"frictionCoef":0.5},
        {"nodeWeight":14},
        //steering rack ends
        {"group":["BB_RockBouncer_steeringrack_body"]},
            ["BBAxleHydroFL", 0.20748, -2.18119, -0.07758],
            ["BBAxleHydroFR", -0.20748, -2.18119, -0.07758],
          //  ["BBAxleHydroFL2", 0.20748, -2.18122, -0.17184],
          //  ["BBAxleHydroFR2", -0.20748, -2.18122, -0.17184],
        //axle mounting points for steering rack
        {"nodeWeight":14.0},
        {"group":["BB_RockBouncer_steeringrack","BB_RockBouncer_tierod_FR"]},
            ["BBAxleTechHydroFR", -0.58109, -2.18119, -0.07758],
           // ["BBAxleTechHydroFR2", -0.58109, -2.18122, -0.17184],
        {"group":["BB_RockBouncer_steeringrack","BB_RockBouncer_tierod_FL"]},
            ["BBAxleTechHydroFL", 0.58145, -2.18119, -0.07758],
          //  ["BBAxleTechHydroFL2", 0.58145, -2.18122, -0.17184],
        {"group":""},
    ],
    "beams": [
        ["id1:","id2:"],
        {"beamPrecompression":1.0, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
        {"beamSpring":6901000,"beamDamp":100},
        {"beamDeform":101000,"beamStrength":"FLT_MAX"}
        {"deformLimitExpansion":1.0},
            ["BBAxleHydroFR", "BBAxleHydroFR2"],
            ["BBAxleHydroFR2", "BBAxleHydroFL"],
            ["BBAxleHydroFL", "BBAxleHydroFL2"],
            ["BBAxleHydroFL2", "BBAxleHydroFR"],
            ["BBAxleHydroFR", "BBAxleF8"],
            ["BBAxleF8", "BBAxleHydroFL"],
            ["BBAxleHydroFL", "BBAxleF6"],
            ["BBAxleF6", "BBAxleHydroFR"],
            ["BBAxleHydroFR2", "BBAxleF8"],
            ["BBAxleHydroFL2", "BBAxleF8"],
            ["BBAxleHydroFR2", "BBAxleF9"],
            ["BBAxleF9", "BBAxleHydroFR"],
            ["BBAxleF9", "BBAxleHydroFL2"],
            ["BBAxleHydroFR2", "BBAxleF7"],
            ["BBAxleF7", "BBAxleHydroFL2"],
            ["BBAxleHydroFL", "BBAxleF7"],
            ["BBAxleHydroFL2", "BBAxleF2"],
            ["BBAxleF2", "BBAxleHydroFL"],
            ["BBAxleHydroFL2", "BBAxleF1"],
            ["BBAxleF1", "BBAxleHydroFL"],
            ["BBAxleHydroFL", "BBAxleF0"],
            ["BBAxleHydroFR2", "BBAxleF5"],
            ["BBAxleF5", "BBAxleHydroFR"],
            ["BBAxleHydroFR2", "BBAxleF4"],
            ["BBAxleF3", "BBAxleHydroFR"],
            ["BBAxleF10", "BBAxleHydroFR"],
            ["BBAxleHydroFR2", "BBAxleF10"],



        {"deformLimitExpansion":""},

        //center link
        {"beamDeform":550000,"beamStrength":5450000},
        {"beamSpring":10001000,"beamDamp":150},	



        //tie rod ends
        {"beamSpring":20001000,"beamDamp":150},
        {"beamDeform":4500000,"beamStrength":450000},	
        {"group":"BBAxleTechKnuckles"},		
        {"breakGroup":"BBAxleTechKnuckleFL"},			
            ["BBAxleTechHydroFR", "BBHubFR2", {"beamPrecompression":"$=$desert_toe_SFA-$desert_steer_center_SFA","beamPrecompressionTime":0.5}],
            ["BBHubFR2", "BBAxleTechHydroFR2", {"beamPrecompression":"$=$desert_toe_SFA-$desert_steer_center_SFA","beamPrecompressionTime":0.5}],
            ["BBAxleTechHydroFR2", "BBAxleTechHydroFR", {"beamPrecompression":"$=$desert_toe_SFA-$desert_steer_center_SFA","beamPrecompressionTime":0.5}],
            ["BBAxleTechHydroFR", "BBHubFR1", {"beamPrecompression":"$=$desert_toe_SFA-$desert_steer_center_SFA","beamPrecompressionTime":0.5}],
            ["BBHubFL1", "BBAxleTechHydroFL2", {"beamPrecompression":"$=$desert_toe_SFA-$desert_steer_center_SFA","beamPrecompressionTime":0.5}],
            ["BBAxleTechHydroFL2", "BBHubFL2", {"beamPrecompression":"$=$desert_toe_SFA-$desert_steer_center_SFA","beamPrecompressionTime":0.5}],
            ["BBHubFL2", "BBAxleTechHydroFL", {"beamPrecompression":"$=$desert_toe_SFA-$desert_steer_center_SFA","beamPrecompressionTime":0.5}],
            ["BBAxleTechHydroFL", "BBHubFL1", {"beamPrecompression":"$=$desert_toe_SFA-$desert_steer_center_SFA","beamPrecompressionTime":0.5}],
            ["BBAxleTechHydroFL2", "BBAxleTechHydroFL", {"beamPrecompression":"$=$desert_toe_SFA-$desert_steer_center_SFA","beamPrecompressionTime":0.5}],



        {"breakGroup":"BBAxleTechKnuckleFL"},			


        {"breakGroup":""},			
        {"group":""},
        //steering damper
        {"beamSpring":0,"beamDeform":95000,"beamStrength":255000},
        {"beamLimitSpring":0,"beamLimitDamp":0},
        {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":1.0, "beamShortBound":1.0},
        {"beamDamp":4750},
            ["BBHubFL5", "BBAxleF0"],
            ["BBHubFL5", "BBAxleF1"],
            ["BBHubFL5", "BBAxleTech4L1"],
            ["BBHubFL5", "BBAxleTech4L2"],
            ["BBHubFL5", "BBAxleF2"],
            ["BBHubFR5", "BBAxleF3"],
            ["BBHubFR5", "BBAxleF4"],
            ["BBHubFR5", "BBAxleF5"],
            ["BBHubFR5", "BBAxleTech4L8"],
            ["BBHubFR5", "BBAxleTech4L7"],
            ["BBHubFR5", "BBAxleF10"],
            ["BBHubFL5", "BBAxleF10"],
            ["BBHubFL5", "BBAxleF6"],
            ["BBHubFL5", "BBAxleF7"],
            ["BBHubFR5", "BBAxleF6"],
            ["BBHubFR5", "BBAxleF7"],

            ["BBHubFL2", "BBAxleF2"],
            ["BBAxleF2", "BBHubFL1"],
            ["BBHubFL1", "BBAxleF1"],
            ["BBHubFL2", "BBAxleF0"],
            ["BBHubFR2", "BBAxleF5"],
            ["BBAxleF5", "BBHubFR1"],
            ["BBHubFR1", "BBAxleF9"],
            ["BBAxleF9", "BBHubFR2"],
            ["BBHubFR2", "BBAxleF8"],
            ["BBHubFL2", "BBAxleF9"],
            ["BBAxleF8", "BBHubFL2"],
            ["BBHubFL1", "BBAxleF9"],




        {"deformLimitExpansion":1.2},
        {"beamPrecompression":1.0, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
    ],
    "hydros": [
        ["id1:","id2:"],
        {"beamPrecompression":1.0, "beamType":"| BOUNDED", "beamLongBound":1, "beamShortBound":1},
        {"beamSpring":20001000,"beamDamp":250,"beamDeform":"FLT_MAX","beamStrength":276500},
        ["BBAxleHydroFL","BBAxleTechHydroFR", {"factor":0.10, "steeringWheelLock":600, "inRate":1.0,"outRate":1.0}],
        ["BBAxleHydroFL2","BBAxleTechHydroFR2", {"factor":0.10, "steeringWheelLock":600, "inRate":1.0,"outRate":1.0}],
        ["BBAxleHydroFR","BBAxleTechHydroFL", {"factor":-0.10,"steeringWheelLock":600, "inRate":1.0,"outRate":1.0}],
        ["BBAxleHydroFR2","BBAxleTechHydroFL2", {"factor":-0.10,"steeringWheelLock":600, "inRate":1.0,"outRate":1.0}],
		
        {"beamPrecompression":1.0, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
    ],
    "input": {
        "FFBcoef":"$=$ffbstrength*10",
    },
},
"BB_RockBouncer_wheeldata_F": {
    "information":{
        "authors":"BeamNG",
        "name":"Front Spindles",
        "value":0,
    },
    "slotType" : "BB_RockBouncer_wheeldata_F",
    "pressureWheels": [
        ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
        //front
        {"selfCollision":true},
        {"collision":true},
        {"hubcapBreakGroup":"hubcap_FL"},
        {"hubcapGroup":"hubcap_FL"},
        {"axleBeams":["axle_FL"]},
        {"triangleCollision":true},
        {"disableMeshBreaking":false,"disableTriangleBreaking":false},
        ["FL", "wheel_FL", "tire_FL", "fw1ll", "fw1l", 9999, "BBHubFL1", -1, {"torqueCoupling:":"BBAxleF1", "torqueArm:":"BBHubFL1", "torqueArm2:":"BBHubFL5","steerAxisUp:":"BBHubFL3","steerAxisDown:":"BBHubFL4"}],
        {"hubcapBreakGroup":"hubcap_FR"},
        {"hubcapGroup":"hubcap_FR"},
        {"axleBeams":["axle_FR"]},
        ["FR", "wheel_FR", "tire_FR", "fw1rr", "fw1r", 9999, "BBHubFR1", 1, {"torqueCoupling:":"BBAxleF4", "torqueArm:":"BBHubFR1", "torqueArm2:":"BBHubFR5","steerAxisUp:":"BBHubFR3","steerAxisDown:":"BBHubFR4"}],
        {"selfCollision":true},
        //{"axleBeams":[]},{"disableMeshBreaking":false,"disableTriangleBreaking":false},
        {"hubcapBreakGroup":""},
        {"hubcapGroup":""},
        {"enableHubcaps":false},
        {"enableTireLbeams":false},
        {"enableTireSideReinfBeams":false},
        {"enableTireReinfBeams":false},
        {"enableTreadReinfBeams":false},
        {"enableTirePeripheryReinfBeams":false},
        {"triangleCollision":false},
        {"loadSensitivitySlope":""},
        {"noLoadCoef":""},
        {"fullLoadCoef":""},
        {"frictionCoef":""},
        {"slidingFrictionCoef":""},
        {"softnessCoef":0.5},
        {"treadCoef":1.0},
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        //front left axle
        ["shaft", "wheelaxleFL", "halfshaftFL", 1, {"canDisconnect":true, "connectedWheel":"FL", "electricsName":"axle_FL", "breakTriggerBeam":"axle_FL", "uiName":"Front Left Axle", "friction":2.19, "dynamicFriction":0.00438}],
        //front right axle
        ["shaft", "wheelaxleFR", "halfshaftFR", 1, {"canDisconnect":true, "connectedWheel":"FR", "electricsName":"axle_FR", "breakTriggerBeam":"axle_FR", "uiName":"Front Right Axle", "friction":2.19, "dynamicFriction":0.00438}],
    ],
},
}