Unsolved Sunburst FWD coupling doesn't work

Discussion in 'Mod Support' started by Dani_KOM, Jan 26, 2021.

  1. Dani_KOM

    Dani_KOM
    Expand Collapse

    Joined:
    May 30, 2015
    Messages:
    106
    Hello, so I made a transfer case that would have selectable FWD, RWD or 4WD for the sunburst, i also made a driveshaft for the coupling to work. The problem is that i cannot figure out why the front wheels wont engage. I suppose the problem is that there is no driveshaft for the front wheels, but i'm not sure. I also renamed the transfercase to "centerdiff" so the stock differentials would work. Anyway, here is the code for the transfer case:

    "sunburst_transfer_case_4WDSelectable_Dani_KOM": {
    "information":{
    "authors":"Dani_KOM",
    "name":"Selectable FWD/RWD/4WD HiLo Transfer Case (Dani_KOM)",
    "value":2000,
    },
    "slotType" : "sunburst_transfer_case",
    "controller": [
    ["fileName"],
    ["4wd", {"shaftName":"transfercase_R", "shaftName":"transfercase", "rangeBoxName":"rangebox"}],
    ],
    "powertrain" : [
    ["type", "name", "inputName", "inputIndex"],
    ["rangeBox", "rangebox", "gearbox", 1, {"gearRatios":[1,2.2], "uiName":"Rangebox"}],
    //locked center diff
    ["differential", "centerdiff", "rangebox", 1, {"diffType":"locked", "lockTorque":8000, "friction":5, "uiName":"Transfer Case", "defaultVirtualInertia":0.1}],
    //disconnecting rear shaft
    ["shaft", "transfercase_R", "centerdiff", 1, {"canDisconnect":true, "friction":0, "uiName":"Rear Output Shaft"}],
    //disconnecting front shaft
    ["shaft", "transfercase", "centerdiff", 1, {"canDisconnect":true, "friction":0, "uiName":"Front Output Shaft"}],
    ],
    },

    And here is the code for the driveshaft:

    "sunburst_driveshaft_4WD_Dani_KOM": {
    "information":{
    "authors":"Dani_KOM",
    "name":"4WD Rear Driveshaft (Dani_KOM)",
    "value":400,
    },
    "slotType" : "sunburst_driveshaft",
    "powertrain" : [
    ["type", "name", "inputName", "inputIndex"],
    ["torsionReactor", "torsionReactorR", "transfercase_R", 1, {}],
    ["shaft", "driveshaft", "torsionReactorR", 1, {"breakTriggerBeam":"driveshaft", "uiName":"Rear Driveshaft", "electricsName":"driveshaft", "friction":2}],
    ],
    "torsionReactorR": {
    "torqueReactionNodes:":["e2l","e2r","e3r"],
    },
    "props": [
    ["func" , "mesh" , "idRef:", "idX:", "idY:", "baseRotation" , "rotation" , "translation" , "min", "max", "offset", "multiplier",],
    ["driveshaft", "sunburst_driveshaft", "f3r", "f3l", "f8r", {"x":0, "y":0, "z":0}, {"x":0, "y":1, "z":0} , {"x":0, "y":0, "z":0}, -360, 360, 0, 1,{"breakGroup":"driveshaft","deformGroup":"driveshaft","optional":true}],
    ],
    "beams": [
    ["id1:", "id2:"],
    //driveshaft
    {"beamPrecompression":1, "beamType":"|BOUNDED", "beamLongBound":0.02, "beamShortBound":0.02},
    {"beamSpring":0,"beamDamp":0,"beamDeform":1500,"beamStrength":3500},
    {"beamLimitSpring":10001000,"beamLimitDamp":250},
    ["rdiff","tra1", {"name":"driveshaft","optional":true,"breakGroup":"driveshaft","deformGroup":"driveshaft"}],
    {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
    },

    Thank you in advance, for the help.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice