1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.30 Bug Reporting thread
    Solutions and more information may already be available.

Tires appear incorrectly and pop immediately

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by SushiPro, Jun 27, 2017.

  1. SushiPro

    SushiPro
    Expand Collapse

    Joined:
    Dec 21, 2015
    Messages:
    258
    I'm trying to create tires for the front and rear wheels separately. The first issue is that they appear on the rear wheels instead of the front wheels. The second issue is that no matter what I input for tire radius, it appears on the inside of the rim. Finally, they pop immediately after the car spawns. What can I do to make them appear on the correct wheels and on the proper side of the rim?
    Pics:
    upload_2017-6-27_15-46-30.png upload_2017-6-27_15-47-0.png

    My pressure wheels:
    Code:
    {
        "mk8_wheels_f_standard": {
            "information":{
                "authors":"SushiPro",
                "name":"Standard Wheels",
            },
            "slotType" : "mk8_wheels_f",
            "slots": [
                ["type", "default", "description"]
                ["mk8_tires_f", "mk8_tires_f", "Tires"],
            ],
            "flexbodies": [
                 ["mesh", "[group]:", "nonFlexMaterials"],
                 ["rimfl", ["wheel_FL"]],
                 ["rimfr", ["wheel_FR"]],
            ],
            "pressureWheels": [
                ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
                {"disableMeshBreaking":true,"disableHubMeshBreaking":false,"enableHubcaps":false,"hasTire":false},
    
                //general settings
                {"hubRadius":0.156},
                {"wheelOffset":0},
                {"hubWidth":0.264},
                {"numRays":16},
    
                //hub options
                {"hubTreadBeamSpring":945900, "hubTreadBeamDamp":10},
                {"hubPeripheryBeamSpring":945900, "hubPeripheryBeamDamp":10},
                {"hubSideBeamSpring":1401000, "hubSideBeamDamp":10},
                {"hubNodeWeight":0.42},
                {"hubNodeMaterial":"|NM_METAL"},
                {"hubFrictionCoef":0.5},
                {"hubBeamDeform":55600, "hubBeamStrength":63000},
                
                ["FL", "wheel_FL", "tire_FL", "sfl5", "sfl4", 9999, "sfl11", 1,{"speedo":true, "nodeCoupling:":"sfl5", "torqueArm:":"sfl11", "torqueCoupling:":"sfl5"}],
                ["FR", "wheel_FR", "tire_FR", "sfr8", "sfr10", 9999, "sfr13", -1,{"speedo":true, "nodeCoupling:":"sfr8", "torqueArm:":"sfr13", "torqueCoupling:":"sfr8"}],
            ],
        },
        "mk8_tires_f": {
            "information":{
                "authors":"SushiPro",
                "name":"Tires",
            },
            "slotType" : "mk8_tires_f",
            "slots": [
                ["type", "default", "description"]
            ],
            "flexbodies": [
                 ["mesh", "[group]:", "nonFlexMaterials"],
                 ["tirefl", ["tire_FL"]],
                 ["tirefr", ["tire_FR"]],
            ],
            "variables": [
                ["name", "type", "unit", "category", "default", "min", "max", "title", "description"]
                ["$tirepressure_F", "range", "psi", "Tires", 27, 0, 50, "Front Tire Pressure", "Relative to atmospheric pressure"]
            ],
            "pressureWheels": [
                ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
                {"disableMeshBreaking":false,"disableHubMeshBreaking":false},
                {"hasTire":true},
                {"enableTireReinfBeams":false},
                {"enableTireLbeams":true},
                {"enableTireSideReinfBeams":false},
                {"enableTreadReinfBeams":true},
                {"enableTirePeripheryReinfBeams":true},
    
                //general settings
                {"radius":0.247},
                {"tireWidth":0.195},
    
                //tire options
                {"wheelSideBeamSpring":3100,"wheelSideBeamDamp":20},
                {"wheelSideBeamSpringExpansion":321000,"wheelSideBeamDampExpansion":30},
                {"wheelSideTransitionZone":0.05,"wheelSideBeamPrecompression":0.995},
    
                {"wheelReinfBeamSpring":31000,"wheelReinfBeamDamp":50},
                {"wheelReinfBeamPrecompression":0.99},
    
                {"wheelTreadBeamSpring":191000,"wheelTreadBeamDamp":25},
                {"wheelTreadBeamPrecompression":0.99},
    
                {"wheelTreadReinfBeamSpring":61000,"wheelTreadReinfBeamDamp":25},
                {"wheelTreadReinfBeamPrecompression":0.99},
    
                {"wheelPeripheryBeamSpring":81000,"wheelPeripheryBeamDamp":20},
                {"wheelPeripheryBeamPrecompression":0.98},
    
                {"wheelPeripheryReinfBeamSpring":81000,"wheelPeripheryReinfBeamDamp":20},
                {"wheelPeripheryReinfBeamPrecompression":0.99},
    
                //general tire values
                {"nodeWeight":0.10},
                {"nodeMaterial":"|NM_RUBBER"},
                {"triangleCollision":false},
                {"pressurePSI":"$tirepressure_F"},
                {"dragCoef":5},
    
                //groundmodel friction multipliers
                {"frictionCoef":1.0},
                {"slidingFrictionCoef":1.0},
                {"treadCoef":0.6},
    
                //advanced friction values
                {"noLoadCoef":1.4},
                {"loadSensitivitySlope":0.00022}
                {"fullLoadCoef":0.25},
                {"softnessCoef":0.7},
    
                //deform values
                {"wheelSideBeamDeform":11000,"wheelSideBeamStrength":15000},
                {"wheelReinfBeamDeform":101000,"wheelReinfBeamStrength":101000},
                {"wheelTreadBeamDeform":10000,"wheelTreadBeamStrength":13000},
                {"wheelTreadReinfBeamDeform":10000,"wheelTreadReinfBeamStrength":13000},
                {"wheelPeripheryBeamDeform":101000,"wheelPeripheryBeamStrength":101000},
            ],
        },
        "mk8_wheels_r_standard": {
            "information":{
                "authors":"SushiPro",
                "name":"Standard Wheels",
            },
            "slotType" : "mk8_wheels_r",
            "slots": [
                ["type", "default", "description"]
                ["mk8_brake_R", "mk8_brake_R", "Rear Brakes"],
            ],
            "flexbodies": [
                 ["mesh", "[group]:", "nonFlexMaterials"],
                 ["rimrl", ["wheel_RL"]],
                 ["rimrr", ["wheel_RR"]],
            ],
            "pressureWheels": [
                ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
                {"disableMeshBreaking":true,"disableHubMeshBreaking":false,"enableHubcaps":false},
    
                //general settings
                {"hubRadius":0.199},
                {"hasTire":true},
                {"radius":0.11},
                {"tireWidth":0.244},
                {"wheelOffset":0},
                {"hubWidth":0.333},
                {"numRays":16},
    
                //hub options
                {"hubTreadBeamSpring":945900, "hubTreadBeamDamp":10},
                {"hubPeripheryBeamSpring":945900, "hubPeripheryBeamDamp":10},
                {"hubSideBeamSpring":1401000, "hubSideBeamDamp":10},
                {"hubNodeWeight":0.42},
                {"hubNodeMaterial":"|NM_METAL"},
                {"hubFrictionCoef":0.5},
                {"hubBeamDeform":55600, "hubBeamStrength":63000},
                
                ["RL", "wheel_RL", "tire_RL", "srl5", "srl4", 9999, "srl11", 1,{"speedo":true, "nodeCoupling:":"srl5", "torqueArm:":"sr12", "torqueCoupling:":"sr7"}],
                ["RR", "wheel_RR", "tire_RR", "srr8", "srr10", 9999, "srr13", -1,{"speedo":true, "nodeCoupling:":"srr8", "torqueArm:":"sr12", "torqueCoupling:":"sr7"}],
            ],
            "powertrain" : [
                ["type", "name", "inputName", "inputIndex"],
                ["shaft", "wheelaxleRL", "differential_R", 1, {"connectedWheel":"RL", "breakTriggerBeam":"axle_RL", "friction":2.5}],
                ["shaft", "wheelaxleRR", "differential_R", 2, {"connectedWheel":"RR", "breakTriggerBeam":"axle_RR", "friction":2.5}],
            ],
        },
        "mk8_brake_R": {
            "information":{
                "authors":"SushiPro",
                "name":"Rear Brakes",
            }
            "slotType" : "mk8_brake_R",
            "slots": [
                ["type", "default", "description"]
                ["brakepad_R","brakepad_R", "Rear Brake Pads"{"coreSlot":true}],
            ],
            "flexbodies": [
                ["mesh", "[group]:", "nonFlexMaterials"],
            ],
            "pressureWheels": [
                ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
                //brakes
                {"ABSthreshold":1.8}
                {"brakeTorque":850},
                {"brakeInputSplit":0.45},
                {"brakeSplitCoef":0.18},
                {"parkingTorque":2000},
                {"brakeSpring":25},
    
                //brake thermals
                {"enableBrakeThermals":false},
            ],
    }
    }
     
  2. SushiPro

    SushiPro
    Expand Collapse

    Joined:
    Dec 21, 2015
    Messages:
    258
    Ok, I was able to make the tires appear in their proper positions, but they still pop immediately after spawning.
    upload_2017-6-27_19-18-34.png
    upload_2017-6-27_19-20-20.png
    Code:
    {
        "mk8_wheels_f_standard": {
            "information":{
                "authors":"SushiPro",
                "name":"Standard Wheels",
            },
            "slotType" : "mk8_wheels_f",
            "slots": [
                ["type", "default", "description"]
                ["mk8_tires_f", "mk8_tires_f", "Tires"],
            ],
            "flexbodies": [
                 ["mesh", "[group]:", "nonFlexMaterials"],
                 ["rimfl", ["wheel_FL"]],
                 ["rimfr", ["wheel_FR"]],
            ],
            "pressureWheels": [
                ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
                {"disableMeshBreaking":true,"disableHubMeshBreaking":false,"hasTire":false},
    
                //general settings
                {"hubRadius":0.156},
                {"wheelOffset":0},
                {"hubWidth":0.264},
                {"numRays":16},
    
                //hub options
                {"hubTreadBeamSpring":945900, "hubTreadBeamDamp":6},
                {"hubPeripheryBeamSpring":945900, "hubPeripheryBeamDamp":6},
                {"hubSideBeamSpring":1501000, "hubSideBeamDamp":6},
                {"hubNodeWeight":0.40},
                {"hubNodeMaterial":"|NM_METAL"},
                {"hubFrictionCoef":0.5},
                {"hubBeamDeform":15000, "hubBeamStrength":66000},
            ],
        },
        "mk8_wheels_r_standard": {
            "information":{
                "authors":"SushiPro",
                "name":"Standard Wheels",
            },
            "slotType" : "mk8_wheels_r",
            "slots": [
                ["type", "default", "description"]
                ["mk8_tires_r", "mk8_tires_r", "Tires"],
            ],
            "flexbodies": [
                 ["mesh", "[group]:", "nonFlexMaterials"],
                 ["rimrl", ["wheel_RL"]],
                 ["rimrr", ["wheel_RR"]],
            ],
            "pressureWheels": [
                ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
                {"disableMeshBreaking":true,"disableHubMeshBreaking":false,"hasTire":false},
    
                //general settings
                {"hubRadius":0.199},
                {"wheelOffset":0},
                {"hubWidth":0.333},
                {"numRays":16},
    
                //hub options
                {"hubTreadBeamSpring":945900, "hubTreadBeamDamp":6},
                {"hubPeripheryBeamSpring":945900, "hubPeripheryBeamDamp":6},
                {"hubSideBeamSpring":1501000, "hubSideBeamDamp":6},
                {"hubNodeWeight":0.40},
                {"hubNodeMaterial":"|NM_METAL"},
                {"hubFrictionCoef":0.5},
                {"hubBeamDeform":15000, "hubBeamStrength":66000},
            ],
            "powertrain" : [
                ["type", "name", "inputName", "inputIndex"],
                ["shaft", "wheelaxleRL", "differential_R", 1, {"connectedWheel":"RL", "breakTriggerBeam":"axle_RL", "friction":2.5}],
                ["shaft", "wheelaxleRR", "differential_R", 2, {"connectedWheel":"RR", "breakTriggerBeam":"axle_RR", "friction":2.5}],
            ],
        },
        "mk8_tires_f": {
            "information":{
                "authors":"SushiPro",
                "name":"Tires",
            },
            "slotType" : "mk8_tires_f",
            "slots": [
                ["type", "default", "description"]
            ],
            "flexbodies": [
                 ["mesh", "[group]:", "nonFlexMaterials"],
                 ["tirefl", ["tire_FL"]],
                 ["tirefr", ["tire_FR"]],
            ],
            "variables": [
                ["name", "type", "unit", "category", "default", "min", "max", "title", "description"]
                ["$tirepressure_F", "range", "psi", "Tires", 27, 0, 50, "Front Tire Pressure", "Relative to atmospheric pressure"]
            ],
            "pressureWheels": [
                ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
                {"disableMeshBreaking":false,"disableHubMeshBreaking":false},
                {"hasTire":true},
                {"enableTireReinfBeams":false},
                {"enableTireLbeams":true},
                {"enableTireSideReinfBeams":false},
                {"enableTreadReinfBeams":true},
    
                //general settings
                {"radius":0.247},
                {"tireWidth":0.195},
    
                //tire options
                {"wheelSideBeamSpring":100,"wheelSideBeamDamp":15},
                {"wheelSideBeamSpringExpansion":321000,"wheelSideBeamDampExpansion":15},
                {"wheelSideTransitionZone":0.1,"wheelSideBeamPrecompression":0.99},
    
                {"wheelReinfBeamSpring":31000,"wheelReinfBeamDamp":75},
                {"wheelReinfBeamPrecompression":0.99},
    
                {"wheelTreadBeamSpring":201000,"wheelTreadBeamDamp":35},
                {"wheelTreadBeamPrecompression":0.99},
    
                {"wheelTreadReinfBeamSpring":61000,"wheelTreadReinfBeamDamp":35},
                {"wheelTreadReinfBeamPrecompression":0.99},
    
                {"wheelPeripheryBeamSpring":141000,"wheelPeripheryBeamDamp":15},
                {"wheelPeripheryBeamPrecompression":0.98},
    
                //general tire values
                {"nodeWeight":0.12},
                {"nodeMaterial":"|NM_RUBBER"},
                {"frictionCoef":1.12},
                {"triangleCollision":false},
                {"pressurePSI":"$tirepressure_F"},
    
                {"dragCoef":5},
                {"treadCoef":0.6},
    
                //deform values
                {"wheelSideBeamDeform":11000,"wheelSideBeamStrength":15000},
                {"wheelReinfBeamDeform":101000,"wheelReinfBeamStrength":101000},
                {"wheelTreadBeamDeform":10000,"wheelTreadBeamStrength":13000},
                {"wheelTreadReinfBeamDeform":10000,"wheelTreadReinfBeamStrength":13000},
                {"wheelPeripheryBeamDeform":101000,"wheelPeripheryBeamStrength":101000},
            ],
        },
        "mk8_tires_r": {
            "information":{
                "authors":"SushiPro",
                "name":"Tires",
            },
            "slotType" : "mk8_tires_r",
            "slots": [
                ["type", "default", "description"]
            ],
            "flexbodies": [
                 ["mesh", "[group]:", "nonFlexMaterials"],
                 ["tirerl", ["tire_RL"]],
                 ["tirerr", ["tire_RR"]],
            ],
            "variables": [
                ["name", "type", "unit", "category", "default", "min", "max", "title", "description"]
                ["$tirepressure_R", "range", "psi", "Tires", 27, 0, 50, "Rear Tire Pressure", "Relative to atmospheric pressure"]
            ],
            "pressureWheels": [
                ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
                {"disableMeshBreaking":false,"disableHubMeshBreaking":false},
                {"hasTire":true},
                {"enableTireReinfBeams":false},
                {"enableTireLbeams":true},
                {"enableTireSideReinfBeams":false},
                {"enableTreadReinfBeams":true},
    
                //general settings
                {"radius":0.309},
                {"tireWidth":0.244},
    
                //tire options
                {"wheelSideBeamSpring":100,"wheelSideBeamDamp":15},
                {"wheelSideBeamSpringExpansion":321000,"wheelSideBeamDampExpansion":15},
                {"wheelSideTransitionZone":0.1,"wheelSideBeamPrecompression":0.99},
    
                {"wheelReinfBeamSpring":31000,"wheelReinfBeamDamp":75},
                {"wheelReinfBeamPrecompression":0.99},
    
                {"wheelTreadBeamSpring":201000,"wheelTreadBeamDamp":35},
                {"wheelTreadBeamPrecompression":0.99},
    
                {"wheelTreadReinfBeamSpring":61000,"wheelTreadReinfBeamDamp":35},
                {"wheelTreadReinfBeamPrecompression":0.99},
    
                {"wheelPeripheryBeamSpring":141000,"wheelPeripheryBeamDamp":15},
                {"wheelPeripheryBeamPrecompression":0.98},
    
                //general tire values
                {"nodeWeight":0.12},
                {"nodeMaterial":"|NM_RUBBER"},
                {"frictionCoef":1.12},
                {"triangleCollision":false},
                {"pressurePSI":"$tirepressure_R"},
    
                {"dragCoef":5},
                {"treadCoef":0.6},
    
                //deform values
                {"wheelSideBeamDeform":11000,"wheelSideBeamStrength":15000},
                {"wheelReinfBeamDeform":101000,"wheelReinfBeamStrength":101000},
                {"wheelTreadBeamDeform":10000,"wheelTreadBeamStrength":13000},
                {"wheelTreadReinfBeamDeform":10000,"wheelTreadReinfBeamStrength":13000},
                {"wheelPeripheryBeamDeform":101000,"wheelPeripheryBeamStrength":101000},
            ],
        },
    }
     
  3. Kirahl

    Kirahl
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    162
    So from a very limited amount of googling I've found that go kart tires are at about 10-14 PSI and yours are at 27 by default. Maybe you could try turning down the pressure and see if they stop popping.
     
  4. SushiPro

    SushiPro
    Expand Collapse

    Joined:
    Dec 21, 2015
    Messages:
    258
    They pop no matter what psi I set them to
     
  5. Kirahl

    Kirahl
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    162
    So, shot in the dark as I know basically nothing about wheels, but you could also try lowering the number of numrays. 16 seems a tad excessive for a wheel that small.
     
    • Like Like x 1
  6. SushiPro

    SushiPro
    Expand Collapse

    Joined:
    Dec 21, 2015
    Messages:
    258
    That plus some tweaking of beam properties fixed it :D
    Thanks again!
     
  7. Goosah

    Goosah
    Expand Collapse
    Global Moderator
    BeamNG Team

    Joined:
    Aug 30, 2013
    Messages:
    790
    Popping will probably be from instability of some kind. The node weights are still very high for the size of the wheels but reasonable for the spring values, which is what matters for stability. Maybe your axle nodes are too light or suspension beams too stiff. I don't otherwise see a problem with the jbeam.

    ^there is nothing wrong with having 16 rays if you really want it, it seems like you will just have to find the source of the instability. *AXLE* node weight can matter because more beams connect to them with more numRays, but you could decrease the hub beam springs to counteract that.
     
  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