Solved Brake calipers orbiting around the wheel (?)

Discussion in 'Mod Support' started by Ai'Torror, Jan 5, 2018.

  1. Ai'Torror

    Ai'Torror
    Expand Collapse
    QA, Mod Support, Vehicle Physics
    BeamNG Team

    Joined:
    Aug 29, 2015
    Messages:
    1,540


    Basically this is the problem... Brake calipers were all set up correctly (saved location and rotation (ctrl+a) in blender). But for some weird reason they start doing this weird floaty thing :/

    All of the needed files are in the Zip.
    (it doesn't have materials set up so it will show no texture)
    Brake calipers are in the file with the body, here is their code:
    Code:
    "b_sbr_brake_F_race": {
        "information":{
            "authors":"AiTorror",
            "name":"Sbr4 Race Front Brakes",
            "value":750,
        },
        "slotType" : "barstow_brake_F",
        "slots": [
            ["type", "default", "description"]
            ["brakepad_F","brakepad_F_race", "Front Brake Pads"{"coreSlot":true}],
        ],
       "flexbodies": [
            ["mesh", "[group]:", "nonFlexMaterials"],
            //brake discs
            ["sbr_brakedisc_FR", ["wheel_FR","wheelhub_FR"], ["barstow"]],
            ["sbr_brakedisc_FL", ["wheel_FL","wheelhub_FL"], ["barstow"]],
            ["sbr_brakecalipers",  ["barstow_hub_F"]],
            ],
        "variables": [
            ["name", "type", "unit", "category", "default", "min", "max", "title", "description"]
            ["$braketorque_F", "range", "", "Brakes", 2600, 0, 4000, "Front Brake Torque", "Strength of the front brakes"{"minDis":0}]
        ],
        "pressureWheels": [
            ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
            //brakes
            //{"enableABS":false},
            {"ABSthreshold":1.8},
            {"brakeTorque":"$braketorque_F"},
            {"brakeInputSplit":1},
            {"brakeSplitCoef":1},
            {"parkingTorque":0},
            {"brakeSpring":45},
    
            //brake thermals
            {"enableBrakeThermals":true},
            {"brakeDiameter":0.36},
            {"brakeMass":10.75},
            {"brakeType":"vented-disc"},
            {"rotorMaterial":"steel"},
            {"brakeVentingCoef":1.3},
        ],
    },
    
    I'd appreciate any sort of help.

    Thanks.
     

    Attached Files:

  2. enjoyinorc6742

    enjoyinorc6742
    Expand Collapse

    Joined:
    Dec 24, 2015
    Messages:
    1,630
    go into blender with the model. highlight the model then to ctrl a and click rotation and scale. that will bring up 3 check boxes and make sure all 3 boxes are checked. export as collada then you're good to go.
     
  3. Ai'Torror

    Ai'Torror
    Expand Collapse
    QA, Mod Support, Vehicle Physics
    BeamNG Team

    Joined:
    Aug 29, 2015
    Messages:
    1,540
    I've tried it many times, and as you can see in the video, it doesn't work :/
     
  4. Ai'Torror

    Ai'Torror
    Expand Collapse
    QA, Mod Support, Vehicle Physics
    BeamNG Team

    Joined:
    Aug 29, 2015
    Messages:
    1,540
    Applying location to delta seemed to fix it for whatever reason :D
    Thanks for getting me onto good track!
     
  5. Ai'Torror

    Ai'Torror
    Expand Collapse
    QA, Mod Support, Vehicle Physics
    BeamNG Team

    Joined:
    Aug 29, 2015
    Messages:
    1,540
    Let's face it, I've made that mod so it is going to do strange things without any apparent reason :D
     
  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