{
"sdd_tacoma_differential_F": {
    "information":{
        "authors":"BeamNG",
        "name":"Open Front Differential",
        "value":450,
    },
    "slotType" : "sdd_tacoma_differential_F",
    "slots": [
        ["type", "default", "description"],
        ["sdd_tacoma_driveshaft_F","sdd_tacoma_driveshaft_F","Front Driveshaft"],
        ["pickup_halfshafts_F","pickup_halfshafts_F","Front Halfshafts"],
        ["pickup_finaldrive_F","pickup_finaldrive_F_355", "Front Final Drive", {"coreSlot":true}],
    ],
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["sdd_tacoma_diff_F", ["pickup_diff_F","pickup_frame","pickup_lowermounts"]],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        //front diff
        ["torsionReactor", "torsionReactorF", "driveshaft_F", 1],
        ["differential", "differential_F", "torsionReactorF", 1, {"diffType":"open", "gearRatio":1, "uiName":"Front Differential","defaultVirtualInertia":0.5}],
    ],
    "differential_F": {
        "friction": 3.72
        "dynamicFriction": 0.00163,
        "torqueLossCoef": 0.03,
    },
    "torsionReactorF": {
        "torqueReactionNodes:":["fx2l","fx2r","fx1r"],
    },
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--diff weight--
         {"selfCollision":false},
         {"collision":false},
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"group":"pickup_diff_F"},
         {"nodeWeight":23.5},
         ["fdiffl", 0.3, -1.463, 0.42],
         ["fdiffr", -0.3, -1.463, 0.42],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},

          {"deformLimitExpansion":1.2},
          {"beamSpring":2820940,"beamDamp":235},
          {"beamDeform":17500,"beamStrength":"FLT_MAX"},
          ["fdiffr","fdiffl"],
          {"deformLimitExpansion":""},
          {"beamSpring":1101000,"beamDamp":350},
          {"beamDeform":12000,"beamStrength":"FLT_MAX"},
          ["fdiffl", "fx2l"],
          ["fdiffl", "fx1l"],
          ["fdiffl", "f3l"],
          ["fdiffl", "f2l"],
          ["fdiffr", "fx2r"],
          ["fdiffr", "fx1r"],
          ["fdiffr", "f3r"],
          ["fdiffr", "f2r"],
          ["fdiffr", "f3l"],
          ["fdiffr", "f2l"],
          ["fdiffl", "f3r"],
          ["fdiffl", "f2r"],

          ["fdiffl", "f13l"],
          ["fdiffl", "f12l"],
          ["fdiffr", "f13r"],
          ["fdiffr", "f12r"],
          ["fdiffr", "f13l"],
          ["fdiffr", "f12l"],
          ["fdiffl", "f13r"],
          ["fdiffl", "f12r"],
    ],
},
"sdd_tacoma_differential_F_LSD": {
    "information":{
        "authors":"BeamNG",
        "name":"Limited Slip Front Differential",
        "value":750,
    },
    "slotType" : "sdd_tacoma_differential_F",
    "slots": [
        ["type", "default", "description"],
        ["sdd_tacoma_driveshaft_F","sdd_tacoma_driveshaft_F","Front Driveshaft"],
        ["pickup_halfshafts_F","pickup_halfshafts_F","Front Halfshafts"],
        ["pickup_finaldrive_F","pickup_finaldrive_F_355", "Front Final Drive", {"coreSlot":true}],
    ],
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["sdd_tacoma_diff_F", ["pickup_diff_F","pickup_frame","pickup_lowermounts"]],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        //front diff
        ["torsionReactor", "torsionReactorF", "driveshaft_F", 1],
        ["differential", "differential_F", "torsionReactorF", 1, {"diffType":"lsd", "gearRatio":1, "lsdPreload":100, "lsdLockCoef":0.2, "lsdRevLockCoef":0.1, "uiName":"Front Differential","defaultVirtualInertia":0.5}],
    ],
    "differential_F": {
        "friction": 3.72
        "dynamicFriction": 0.00163,
        "torqueLossCoef": 0.03,
    },
    "torsionReactorF": {
        "torqueReactionNodes:":["fx2l","fx2r","fx1r"],
    },
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--diff weight--
         {"selfCollision":false},
         {"collision":false},
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"group":"pickup_diff_F"},
         {"nodeWeight":23.5},
         ["fdiffl", 0.3, -1.463, 0.42],
         ["fdiffr", -0.3, -1.463, 0.42],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},

          {"deformLimitExpansion":1.2},
          {"beamSpring":2820940,"beamDamp":235},
          {"beamDeform":17500,"beamStrength":"FLT_MAX"},
          ["fdiffr","fdiffl"],
          {"deformLimitExpansion":""},
          {"beamSpring":1101000,"beamDamp":350},
          {"beamDeform":12000,"beamStrength":"FLT_MAX"},
          ["fdiffl", "fx2l"],
          ["fdiffl", "fx1l"],
          ["fdiffl", "f3l"],
          ["fdiffl", "f2l"],
          ["fdiffr", "fx2r"],
          ["fdiffr", "fx1r"],
          ["fdiffr", "f3r"],
          ["fdiffr", "f2r"],
          ["fdiffr", "f3l"],
          ["fdiffr", "f2l"],
          ["fdiffl", "f3r"],
          ["fdiffl", "f2r"],

          ["fdiffl", "f13l"],
          ["fdiffl", "f12l"],
          ["fdiffr", "f13r"],
          ["fdiffr", "f12r"],
          ["fdiffr", "f13l"],
          ["fdiffr", "f12l"],
          ["fdiffl", "f13r"],
          ["fdiffl", "f12r"],
    ],
},
"sdd_tacoma_differential_F_welded": {
    "information":{
        "authors":"BeamNG",
        "name":"Welded Front Differential",
        "value":450,
    },
    "slotType" : "sdd_tacoma_differential_F",
    "slots": [
        ["type", "default", "description"],
        ["sdd_tacoma_driveshaft_F","sdd_tacoma_driveshaft_F","Front Driveshaft"],
        ["pickup_halfshafts_F","pickup_halfshafts_F","Front Halfshafts"],
        ["pickup_finaldrive_F","pickup_finaldrive_F_355", "Front Final Drive", {"coreSlot":true}],
    ],
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["sdd_tacoma_diff_F", ["pickup_diff_F","pickup_frame","pickup_lowermounts"]],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        //front diff
        ["torsionReactor", "torsionReactorF", "driveshaft_F", 1],
        ["differential", "differential_F", "torsionReactorF", 1, {"diffType":"locked", "gearRatio":1, "lockTorque":10000, "uiName":"Front Differential","defaultVirtualInertia":0.5}],
    ],
    "differential_F": {
        "friction": 3.72
        "dynamicFriction": 0.00163,
        "torqueLossCoef": 0.03,
    },
    "torsionReactorF": {
        "torqueReactionNodes:":["fx2l","fx2r","fx1r"],
    },
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--diff weight--
         {"selfCollision":false},
         {"collision":false},
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"group":"pickup_diff_F"},
         {"nodeWeight":23.5},
         ["fdiffl", 0.3, -1.463, 0.42],
         ["fdiffr", -0.3, -1.463, 0.42],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},

          {"deformLimitExpansion":1.2},
          {"beamSpring":2820940,"beamDamp":235},
          {"beamDeform":17500,"beamStrength":"FLT_MAX"},
          ["fdiffr","fdiffl"],
          {"deformLimitExpansion":""},
          {"beamSpring":1101000,"beamDamp":350},
          {"beamDeform":12000,"beamStrength":"FLT_MAX"},
          ["fdiffl", "fx2l"],
          ["fdiffl", "fx1l"],
          ["fdiffl", "f3l"],
          ["fdiffl", "f2l"],
          ["fdiffr", "fx2r"],
          ["fdiffr", "fx1r"],
          ["fdiffr", "f3r"],
          ["fdiffr", "f2r"],
          ["fdiffr", "f3l"],
          ["fdiffr", "f2l"],
          ["fdiffl", "f3r"],
          ["fdiffl", "f2r"],

          ["fdiffl", "f13l"],
          ["fdiffl", "f12l"],
          ["fdiffr", "f13r"],
          ["fdiffr", "f12r"],
          ["fdiffr", "f13l"],
          ["fdiffr", "f12l"],
          ["fdiffl", "f13r"],
          ["fdiffl", "f12r"],
    ],
},
"sdd_tacoma_differential_F_locking": {
    "information":{
        "authors":"BeamNG",
        "name":"Locking Front Differential",
        "value":950,
    },
    "slotType" : "sdd_tacoma_differential_F",
    "slots": [
        ["type", "default", "description"],
        ["sdd_tacoma_driveshaft_F","sdd_tacoma_driveshaft_F","Front Driveshaft"],
        ["pickup_halfshafts_F","pickup_halfshafts_F","Front Halfshafts"],
        ["pickup_finaldrive_F","pickup_finaldrive_F_355", "Front Final Drive", {"coreSlot":true}],
    ],
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["sdd_tacoma_diff_F", ["pickup_diff_F","pickup_frame","pickup_lowermounts"]],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        //front diff
        ["torsionReactor", "torsionReactorF", "driveshaft_F", 1],
        ["differential", "differential_F", "torsionReactorF", 1, {"diffType":["open","locked"], "lockTorque":20000, "uiName":"Front Differential","defaultVirtualInertia":0.5}],
    ],
    "differential_F": {
        "friction": 3.72
        "dynamicFriction": 0.00163,
        "torqueLossCoef": 0.03,
    },
    "torsionReactorF": {
        "torqueReactionNodes:":["fx2l","fx2r","fx1r"],
    },
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--diff weight--
         {"selfCollision":false},
         {"collision":false},
         {"nodeMaterial":"|NM_METAL"},
         {"frictionCoef":0.5},
         {"group":"pickup_diff_F"},
         {"nodeWeight":23.5},
         ["fdiffl", 0.3, -1.463, 0.42],
         ["fdiffr", -0.3, -1.463, 0.42],
         {"group":""},
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},

          {"deformLimitExpansion":1.2},
          {"beamSpring":2820940,"beamDamp":235},
          {"beamDeform":17500,"beamStrength":"FLT_MAX"},
          ["fdiffr","fdiffl"],
          {"deformLimitExpansion":""},
          {"beamSpring":1101000,"beamDamp":350},
          {"beamDeform":12000,"beamStrength":"FLT_MAX"},
          ["fdiffl", "fx2l"],
          ["fdiffl", "fx1l"],
          ["fdiffl", "f3l"],
          ["fdiffl", "f2l"],
          ["fdiffr", "fx2r"],
          ["fdiffr", "fx1r"],
          ["fdiffr", "f3r"],
          ["fdiffr", "f2r"],
          ["fdiffr", "f3l"],
          ["fdiffr", "f2l"],
          ["fdiffl", "f3r"],
          ["fdiffl", "f2r"],

          ["fdiffl", "f13l"],
          ["fdiffl", "f12l"],
          ["fdiffr", "f13r"],
          ["fdiffr", "f12r"],
          ["fdiffr", "f13l"],
          ["fdiffr", "f12l"],
          ["fdiffl", "f13r"],
          ["fdiffl", "f12r"],
    ],
},
"sdd_tacoma_driveshaft_F": {
    "information":{
        "authors":"BeamNG",
        "name":"IFS Driveshaft",
        "value":300,
    },
    "slotType" : "sdd_tacoma_driveshaft_F",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         ["sdd_tacoma_frontshaft", ["pickup_diff_F", "pickup_transmission"]],
    ],
    "powertrain" : [
        ["type", "name", "inputName", "inputIndex"],
        //front driveshaft
        ["shaft", "driveshaft_F", "transfercase_F", 1, {"breakTriggerBeam":"driveshaft_F", "uiName":"Front Driveshaft", "electricsName":"driveshaft_F", "friction":0.467, "dynamicFriction": 0.00101}],
    ],
    "beams": [
          ["id1:", "id2:"],
          //driveshaft
          {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":0.075, "beamShortBound":0.075},
          {"beamSpring":0,"beamDamp":0,"beamDeform":3535,"beamStrength":4599},
          {"beamLimitSpring":10001000,"beamLimitDamp":1000},
          ["fdiffl","tra3", {"name":"driveshaft_F","optional":true,"breakGroup":"driveshaft_F","deformGroup":"driveshaft_F"}],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
},
}