Solved Yacht Glitching

Discussion in 'Mod Support' started by Littleturdlet, Jul 19, 2017.

  1. Littleturdlet

    Littleturdlet
    Expand Collapse

    Joined:
    Feb 12, 2017
    Messages:
    239
    I am currently trying to make a yacht mod, this is my first mod. When I spawn the yacht it glitches out and freezes the game. Also I haven't gotten around to do the triangles yet.


    Code:
    {
    "Yacht": {
            "information":{
                "authors":"Littleturdlet",
                "name":"Yacht",
            },
            "slotType" : "main",
            "refNodes":[
            ["ref:", "back:", "left:", "up:"]
            ["98", "6", "154", "136"]
        ],
        "cameraExternal":{
            "distance":32.0,
            "distanceMin":4,
            "offset":{"x":0, "y":0, "z":5},
            "fov":65,
            },
            "flexbodies": [
            ["mesh", "[group]:", "nonFlexMaterials"],
            ["yacht", ["body"]],
            ["railing", ["body"]],
            ["glass", ["body"]],
                 ],
            "nodes":[
                ["id", "posX", "posY", "posZ"],
                {"frictionCoef":0.5},
                {"nodeMaterial":"|NM_METAL"},
                {"selfCollision":true},
                {"collision":true},
                {"nodeWeight":1.0},
                {"group":"body"},
                ["0", -2.19738, 5.22067, -0.38456],
                ["1", -1.57243, 5.22779, -1.76251],
                ["2", -2.23065, -3.73946, 0.03507],
                ["3", -1.43505, -3.74077, -1.81894],
                ["4", -1.14512, -7.17084, 0.19354],
                ["5", -0.62163, -6.51567, -1.84025],
                ["6", -1.50322, 4.59720, 0.79371],
                ["7", -1.26005, 7.51543, -1.77894],
                ["8", -1.49785, 6.99257, -1.76618],
                ["9", -2.03738, 6.97947, -0.41412],
                ["10", -1.50528, 5.22067, -0.38456],
                ["11", -1.52803, -3.89797, 0.03507],
                ["12", -0.31291, -7.08957, 0.19354],
                ["13", -1.52597, -3.86886, 0.60059],
                ["14", -0.31085, -6.25163, 0.24435],
                ["15", -1.52597, -2.50549, 1.13675],
                ["16", -1.55083, 6.31478, 0.91937],
                ["17", -1.57506, -2.71054, 1.28482],
                ["18", -1.55083, 6.20755, 1.07256],
                ["19", -1.48646, -1.25236, 1.85755],
                ["20", -1.47013, 1.40427, 2.02286],
                ["21", -1.25482, 6.48967, 1.07256],
                ["22", -1.25482, 6.59690, 0.91937],
                ["23", -1.18961, 1.38669, 2.02280],
                ["24", -1.46938, 2.16849, 1.87673],
                ["25", -1.18900, 2.15091, 1.87667],
                ["26", -1.44697, 2.50085, 3.09619],
                ["27", -1.37365, 2.48327, 3.09614],
                ["28", -1.37304, 2.77691, 3.05925],
                ["29", -1.44622, 2.79449, 3.05930],
                ["30", -1.45001, 2.37859, 2.97814],
                ["31", -1.44926, 2.69078, 2.92402],
                ["32", -1.36537, 2.36100, 2.97809],
                ["33", -1.36476, 2.67319, 2.92396],
                ["34", -1.50373, 0.74351, -1.79072],
                ["35", -2.21402, 0.74061, -0.17475],
                ["36", -1.56295, 1.80212, 1.10209],
                ["37", -1.51459, 1.04586, 0.96523],
                ["38", -1.51665, 0.66135, -0.17475],
                ["39", 2.19738, 5.22067, -0.38456],
                ["40", 1.57243, 5.22779, -1.76251],
                ["41", 2.23065, -3.73946, 0.03507],
                ["42", 1.43505, -3.74077, -1.81894],
                ["43", 1.14512, -7.17084, 0.19354],
                ["44", 0.62163, -6.51567, -1.84025],
                ["45", 0.00000, -8.49647, 0.26852],
                ["46", 0.00000, 5.22779, -1.76251],
                ["47", 1.50322, 4.59720, 0.79371],
                ["48", 0.00000, -4.24210, -1.81894],
                ["49", 0.00000, 4.60598, 0.79110],
                ["50", 0.00000, -7.13749, 0.19354],
                ["51", 0.00000, -6.77368, -1.84025],
                ["52", 0.00000, -2.84831, 1.13675],
                ["53", 1.26005, 7.51543, -1.77894],
                ["54", 0.00000, 7.64179, -1.77894],
                ["55", 1.49785, 6.99257, -1.76618],
                ["56", 2.03738, 6.97947, -0.41412],
                ["57", 0.00000, 7.08084, -1.78844],
                ["58", 1.50528, 5.22067, -0.38456],
                ["59", 1.52803, -3.89797, 0.03507],
                ["60", 0.31291, -7.08957, 0.19354],
                ["61", 0.00000, -4.21169, 0.60059],
                ["62", 0.00000, -6.29955, 0.24435],
                ["63", 1.52597, -3.86886, 0.60059],
                ["64", 0.31085, -6.25163, 0.24435],
                ["65", 1.52597, -2.50549, 1.13675],
               
                ["67", 1.55083, 6.31478, 0.91937],
                ["68", 0.00000, 6.75576, 0.91937],
                ["69", 0.00000, -3.07577, 1.28482],
                ["70", 1.57506, -2.71054, 1.28482],
                ["71", 1.55083, 6.20755, 1.07256],
                ["72", 0.00000, 6.64852, 1.07256],
               
                ["74", 0.00000, -1.56140, 1.85801],
                ["75", 1.48646, -1.25236, 1.85755],
                ["76", 1.47013, 1.40427, 2.02286],
                ["77", 0.00000, 5.22067, -0.38456],
                ["78", 1.25482, 6.48967, 1.07256],
                ["79", 1.25482, 6.59690, 0.91937],
                ["80", 0.00000, 2.15091, 1.87667],
                ["81", 1.18961, 1.38669, 2.02280],
                ["82", 1.46938, 2.16849, 1.87673],
                ["83", 1.18900, 2.15091, 1.87667],
                ["84", 1.44697, 2.50085, 3.09619],
                ["85", 1.37365, 2.48327, 3.09614],
                ["86", 1.37304, 2.77691, 3.05925],
                ["87", 1.44622, 2.79449, 3.05930],
                ["88", 1.45001, 2.37859, 2.97814],
                ["89", 1.44926, 2.69078, 2.92402],
                ["90", 1.36537, 2.36100, 2.97809],
                ["91", 1.36476, 2.67319, 2.92396],
                ["92", 0.00000, 2.77734, 3.03718],
                ["93", 0.00000, 2.48370, 3.07408],
                ["94", 0.00000, 2.67363, 2.90191],
                ["95", 0.00000, 2.36144, 2.95602],
                ["96", 1.50373, 0.74351, -1.79072],
                ["97", 0.00000, 0.49284, -1.79072],
                ["98", 2.21402, 0.74061, -0.17475],
                ["99", 1.56295, 1.80212, 1.10209],
                ["100", 0.00000, 7.00881, -0.41412],
                ["101", 1.51459, 1.04586, 0.96523],
                ["102", 1.51665, 0.66135, -0.17475],
                ["103", 0.00000, 1.38669, 2.02280],
    
                //BNEnodes
     
            ],
            "beams":[
                ["id1:", "id2:"],
               
                ["45", "12"],
                ["12", "4"],
                ["49", "16"],
                ["16", "22"],
                ["19", "36"],
                ["36", "17"],
                ["49", "22"],
                ["22", "68"],
                ["36", "6"],
                ["6", "37"],
                ["102", "63"],
                ["63", "59"],
                ["11", "14"],
                ["14", "13"],
                ["7", "8"],
                ["8", "9"],
                ["17", "37"],
                ["37", "15"],
                ["9", "0"],
                ["0", "10"],
                ["60", "45"],
                ["45", "43"],
                ["49", "67"],
                ["67", "47"],
                ["20", "24"],
                ["24", "36"],
                ["49", "68"],
                ["68", "79"],
                ["47", "99"],
                ["99", "101"],
                ["65", "102"],
                ["102", "101"],
                ["59", "64"],
                ["64", "60"],
                ["53", "56"],
                ["56", "55"],
                ["101", "70"],
                ["70", "65"],
                ["56", "58"],
                ["58", "39"],
                ["36", "18"],
                ["18", "16"],
                ["75", "99"],
                ["99", "76"],
                ["76", "99"],
                ["99", "82"],
                ["71", "99"],
                ["99", "67"],
                ["11", "13"],
                ["13", "38"],
                ["15", "38"],
                ["38", "13"],
                ["45", "50"],
                ["50", "12"],
                ["49", "6"],
                ["6", "16"],
                ["19", "20"],
                ["20", "36"],
                ["21", "18"],
                ["18", "72"],
                ["24", "25"],
                ["25", "18"],
                ["36", "16"],
                ["16", "6"],
                ["11", "12"],
                ["12", "14"],
                ["17", "36"],
                ["36", "37"],
                ["23", "20"],
                ["20", "19"],
                ["60", "50"],
                ["50", "45"],
                ["49", "79"],
                ["79", "67"],
                ["78", "72"],
                ["72", "71"],
                ["82", "71"],
                ["71", "83"],
                ["47", "67"],
                ["67", "99"],
                ["65", "63"],
                ["63", "102"],
                ["59", "63"],
                ["63", "64"],
                ["101", "99"],
                ["99", "70"],
                ["75", "76"],
                ["76", "81"],
                ["36", "24"],
                ["24", "18"],
                ["75", "70"],
                ["70", "99"],
                ["71", "82"],
                ["82", "99"],
                ["15", "37"],
                ["37", "38"],
                ["90", "85"],
                ["85", "93"],
                ["93", "95"],
                ["27", "26"],
                ["26", "30"],
                ["30", "32"],
                ["4", "12"],
                ["12", "11"],
                ["11", "2"],
                ["84", "87"],
                ["87", "86"],
                ["86", "85"],
                ["94", "95"],
                ["95", "93"],
                ["93", "92"],
                ["18", "25"],
                ["25", "80"],
                ["80", "72"],
                ["2", "3"],
                ["3", "5"],
                ["5", "4"],
                ["24", "20"],
                ["20", "30"],
                ["30", "31"],
                ["61", "13"],
                ["13", "14"],
                ["14", "62"],
                ["47", "101"],
                ["101", "102"],
                ["102", "58"],
                ["7", "54"],
                ["54", "57"],
                ["57", "8"],
                ["55", "40"],
                ["40", "46"],
                ["46", "57"],
                ["38", "35"],
                ["35", "2"],
                ["2", "11"],
                ["62", "50"],
                ["50", "60"],
                ["60", "64"],
                ["90", "81"],
                ["81", "76"],
                ["76", "88"],
                ["56", "39"],
                ["39", "40"],
                ["40", "55"],
                ["46", "97"],
                ["97", "34"],
                ["34", "1"],
                ["72", "68"],
                ["68", "22"],
                ["22", "21"],
                ["32", "23"],
                ["23", "25"],
                ["25", "33"],
                ["4", "5"],
                ["5", "51"],
                ["51", "45"],
                ["97", "48"],
                ["48", "3"],
                ["3", "34"],
                ["33", "25"],
                ["25", "24"],
                ["24", "31"],
                ["28", "33"],
                ["33", "31"],
                ["31", "29"],
                ["93", "92"],
                ["92", "28"],
                ["28", "27"],
                ["10", "6"],
                ["6", "49"],
                ["49", "77"],
                ["92", "86"],
                ["86", "91"],
                ["91", "94"],
                ["92", "94"],
                ["94", "33"],
                ["33", "28"],
                ["53", "54"],
                ["54", "100"],
                ["100", "56"],
                ["1", "0"],
                ["0", "9"],
                ["9", "8"],
                ["26", "29"],
                ["29", "31"],
                ["31", "30"],
                ["3", "2"],
                ["2", "35"],
                ["35", "34"],
                ["103", "80"],
                ["80", "25"],
                ["25", "23"],
                ["10", "77"],
                ["77", "100"],
                ["100", "9"],
                ["98", "41"],
                ["41", "42"],
                ["42", "96"],
                ["91", "89"],
                ["89", "82"],
                ["82", "83"],
                ["58", "56"],
                ["56", "100"],
                ["100", "77"],
                ["7", "9"],
                ["9", "100"],
                ["100", "54"],
                ["93", "27"],
                ["27", "32"],
                ["32", "95"],
                ["74", "19"],
                ["19", "17"],
                ["17", "69"],
                ["67", "79"],
                ["79", "78"],
                ["78", "71"],
                ["26", "27"],
                ["27", "28"],
                ["28", "29"],
                ["43", "45"],
                ["45", "51"],
                ["51", "44"],
                ["89", "91"],
                ["91", "86"],
                ["86", "87"],
                ["20", "23"],
                ["23", "32"],
                ["32", "30"],
                ["90", "91"],
                ["91", "83"],
                ["83", "81"],
                ["64", "63"],
                ["63", "61"],
                ["61", "62"],
                ["6", "10"],
                ["10", "38"],
                ["38", "37"],
                ["43", "41"],
                ["41", "59"],
                ["59", "60"],
                ["98", "39"],
                ["39", "58"],
                ["58", "102"],
                ["80", "83"],
                ["83", "71"],
                ["71", "72"],
                ["52", "65"],
                ["65", "70"],
                ["70", "69"],
                ["44", "42"],
                ["42", "41"],
                ["41", "43"],
                ["79", "68"],
                ["68", "72"],
                ["72", "78"],
                ["17", "15"],
                ["15", "52"],
                ["52", "69"],
                ["103", "23"],
                ["23", "19"],
                ["19", "74"],
                ["88", "76"],
                ["76", "82"],
                ["82", "89"],
                ["5", "3"],
                ["3", "48"],
                ["48", "51"],
                ["57", "54"],
                ["54", "53"],
                ["53", "55"],
                ["85", "90"],
                ["90", "88"],
                ["88", "84"],
                ["41", "98"],
                ["98", "102"],
                ["102", "59"],
                ["91", "90"],
                ["90", "95"],
                ["95", "94"],
                ["84", "88"],
                ["88", "89"],
                ["89", "87"],
                ["49", "47"],
                ["47", "58"],
                ["58", "77"],
                ["10", "0"],
                ["0", "35"],
                ["35", "38"],
                ["8", "57"],
                ["57", "46"],
                ["46", "1"],
                ["97", "96"],
                ["96", "42"],
                ["42", "48"],
                ["96", "97"],
                ["97", "46"],
                ["46", "40"],
                ["44", "51"],
                ["51", "48"],
                ["48", "42"],
                ["34", "35"],
                ["35", "0"],
                ["0", "1"],
                ["95", "32"],
                ["32", "33"],
                ["33", "94"],
                ["12", "50"],
                ["50", "62"],
                ["62", "14"],
                ["39", "98"],
                ["98", "96"],
                ["96", "40"],
                ["74", "69"],
                ["69", "70"],
                ["70", "75"],
                ["75", "81"],
                ["81", "103"],
                ["103", "74"],
                ["21", "22"],
                ["22", "16"],
                ["16", "18"],
                ["93", "85"],
                ["85", "86"],
                ["86", "92"],
                ["103", "81"],
                ["81", "83"],
                ["83", "80"],
                ["13", "61"],
                ["61", "52"],
                ["52", "15"],
                ["52", "61"],
                ["61", "63"],
                ["63", "65"],
                ["8", "1"],
                ["2", "4"],
                ["4", "45"],
                ["15", "13"],
                ["57", "55"],
                ["74", "75"],
    
                //BNEbeams
     
     
            ],
            "triangles":[
                ["id1:", "id2:", "id3:"],
    
                //BNEtriangles
     
     
            ],
       }
    }
    
     

    Attached Files:

  2. Littleturdlet

    Littleturdlet
    Expand Collapse

    Joined:
    Feb 12, 2017
    Messages:
    239
    Thanks i made the nodes heavier and it no longer glitches out.
     
  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