{
"hotgirl_mod_intcollision_fix":{
    "information":{
        "authors":"mairusss",
        "name":"Use if dummy falls through seat on mod cars",
    }
    "slotType" : "hotgirl_mod_intcollision_fix",
    "mairusssDummyPositioner":{
	"moveSeats":true,
    },
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         {"collision":true},
         {"selfCollision":false},
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},

         //--ADD MISSING SEATS COLLISION--
         {"collision":true},
         {"selfCollision":true},
         {"nodeWeight":2.0},

	 {"group":"intcollision_seat_FL"},
         ["sf1l", "$=$cbpdriverOffsetX-0.25", "$=$cbpdriverOffsetY-0.42", "$=$cbpdriverOffsetZ+0.80*$aDummy1scale/0.9"],
         ["sf1ll","$=$cbpdriverOffsetX+0.25", "$=$cbpdriverOffsetY-0.42", "$=$cbpdriverOffsetZ+0.80*$aDummy1scale/0.9"],
	 ["sf2l", "$=$cbpdriverOffsetX-0.25", "$=$cbpdriverOffsetY+0.00", "$=$cbpdriverOffsetZ+0.75*$aDummy1scale/0.9"],
         ["sf2ll","$=$cbpdriverOffsetX+0.25", "$=$cbpdriverOffsetY+0.00", "$=$cbpdriverOffsetZ+0.75*$aDummy1scale/0.9"],
	 ["sf3l", "$=$cbpdriverOffsetX-0.15", "$=$cbpdriverOffsetY+0.22", "$=$cbpdriverOffsetZ+1.50*$aDummy1scale/0.9"],
         ["sf3ll","$=$cbpdriverOffsetX+0.15", "$=$cbpdriverOffsetY+0.22", "$=$cbpdriverOffsetZ+1.50*$aDummy1scale/0.9"],

	 {"group":"intcollision_seat_FR"},
	 ["sf1r", "$=-$cbpdriverOffsetX+0.25", "$=$cbpdriverOffsetY-0.42", "$=$cbpdriverOffsetZ+0.80*$aDummy1scale/0.9"],
         ["sf1rr","$=-$cbpdriverOffsetX-0.25", "$=$cbpdriverOffsetY-0.42", "$=$cbpdriverOffsetZ+0.80*$aDummy1scale/0.9"],
	 ["sf2r", "$=-$cbpdriverOffsetX+0.25", "$=$cbpdriverOffsetY+0.00", "$=$cbpdriverOffsetZ+0.75*$aDummy1scale/0.9"],
         ["sf2rr","$=-$cbpdriverOffsetX-0.25", "$=$cbpdriverOffsetY+0.00", "$=$cbpdriverOffsetZ+0.75*$aDummy1scale/0.9"],
	 ["sf3r", "$=-$cbpdriverOffsetX+0.15", "$=$cbpdriverOffsetY+0.22", "$=$cbpdriverOffsetZ+1.50*$aDummy1scale/0.9"],
         ["sf3rr","$=-$cbpdriverOffsetX-0.15", "$=$cbpdriverOffsetY+0.22", "$=$cbpdriverOffsetZ+1.50*$aDummy1scale/0.9"],

         {"group":""},
    ],
    "beams":[
        ["id1:", "id2:"],
        {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},

	//--LEFT SEAT BEAMS--

        //main shape
        {"beamSpring":2501000,"beamDamp":300},
        {"beamDeform":10000,"beamStrength":"FLT_MAX"},
        {"deformLimitExpansion":1.1},
        ["sf1l", "sf1ll"],
        ["sf2l", "sf2ll"],
        ["sf3l", "sf3ll"],
        ["sf1l", "sf2l"],
        ["sf2l", "sf3l"],
        ["sf1ll", "sf2ll"],
        ["sf2ll", "sf3ll"],
        //crossing
        {"beamDeform":7000,"beamStrength":"FLT_MAX"},
        {"deformLimitExpansion":""},
        ["sf1ll", "sf2l"],
        ["sf2ll", "sf1l"],
        ["sf2l", "sf3ll"],
        ["sf3l", "sf2ll"],
        //corners
        {"beamDeform":3000},
        ["sf3l", "sf1l"],
        ["sf3ll", "sf1ll"],

	{"optional":true},
        
        //attach
        {"beamSpring":282000,"beamDamp":37.6},
        {"beamDeform":6000,"beamStrength":"FLT_MAX"},
	
	//f
	["sf2l", "f3l"],
        ["sf2l", "f2l"],
        ["sf2l", "f3r"],
        ["sf2l", "f2r"],
        ["sf2ll", "f3l"],
        ["sf2ll", "f3ll"],
        ["sf2ll", "f2l"],
        ["sf1l", "f2l"],
        ["sf1ll", "f2l"],
        ["sf1ll", "f2ll"],
        ["sf1l", "f3l"],

	//b
	["sf2l", "b3l"],
        ["sf2l", "b2l"],
        ["sf2l", "b3r"],
        ["sf2l", "b2r"],
        ["sf2ll", "b3l"],
        ["sf2ll", "b3ll"],
        ["sf2ll", "b2l"],
        ["sf1l", "b2l"],
        ["sf1ll", "b2l"],
        ["sf1ll", "b2ll"],
        ["sf1l", "b3l"],

	//chassis
	["sf2l", "c4l"],
        ["sf2l", "c3l"],
        ["sf2l", "c4r"],
        ["sf2l", "c3r"],
        ["sf2ll", "c4l"],
        ["sf2ll", "c4ll"],
        ["sf2ll", "c3l"],
        ["sf1l", "c3l"],
        ["sf1ll", "c3l"],
        ["sf1ll", "c3ll"],
        ["sf1l", "c4l"],

	//semi cab
	["sf2l", "dc9ll"],
        ["sf2l", "dc7ll"],
        ["sf2l", "dc9rr"],
        ["sf2l", "dc7rr"],
        ["sf2ll", "dc9"],
        ["sf2ll", "dc9ll"],
        ["sf2ll", "dc7"],
        ["sf1l", "dc6"],
        ["sf1ll", "dc6"],
        ["sf1ll", "dc6ll"],
        ["sf1l", "dc7"],


        //limiter
        {"beamType":"|SUPPORT", "beamLongBound":5},
        {"beamSpring":470000,"beamDamp":141},
        {"beamPrecompression":0.9},
        {"beamDeform":6000,"beamStrength":"FLT_MAX"},

	//to pillars
	["sf2l", "p1l"],
        ["sf2l", "p2l"],
	["sf2l", "p3l"],
        ["sf2l", "p4l"],
	["sf2l", "p5l"],
        ["sf2l", "p6l"],
	["sf2l", "p7l"],
        ["sf2l", "p8l"],

	["sf3l", "p1l"],
        ["sf3l", "p2l"],
	["sf3l", "p3l"],
        ["sf3l", "p4l"],
	["sf3l", "p5l"],
        ["sf3l", "p6l"],
	["sf3l", "p7l"],
        ["sf3l", "p8l"],
        
	//to floor
	["sf1l", "f1ll"],
        ["sf1l", "f3ll"],
	["sf1l", "b1ll"],
        ["sf1l", "b3ll"],

        //to other seat
        {"beamPrecompression":0.7},
        ["sf1rr", "sf1ll"],
        ["sf2rr", "sf2ll"],
        ["sf3rr", "sf3ll"],
        {"optional":false},
        {"beamPrecompression":1},
	{"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},


	//--RIGHT SEAT BEAMS--

	//main shape
        {"beamSpring":2501000,"beamDamp":300},
        {"beamDeform":10000,"beamStrength":"FLT_MAX"},
        {"deformLimitExpansion":1.1},
        ["sf1r", "sf1rr"],
        ["sf2r", "sf2rr"],
        ["sf3r", "sf3rr"],
        ["sf1r", "sf2r"],
        ["sf2r", "sf3r"],
        ["sf1rr", "sf2rr"],
        ["sf2rr", "sf3rr"],
        //crossing
        {"beamDeform":7000,"beamStrength":"FLT_MAX"},
        {"deformLimitExpansion":""},
        ["sf1rr", "sf2r"],
        ["sf2rr", "sf1r"],
        ["sf2r", "sf3rr"],
        ["sf3r", "sf2rr"],
        //corners
        {"beamDeform":3000},
        ["sf3r", "sf1r"],
        ["sf3rr", "sf1rr"],

	{"optional":true},
        
        //attach
        {"beamSpring":282000,"beamDamp":37.6},
        {"beamDeform":6000,"beamStrength":"FLT_MAX"},

	//f
	["sf2r", "f3l"],
        ["sf2r", "f2l"],
        ["sf2r", "f3r"],
        ["sf2r", "f2r"],
        ["sf2rr", "f3r"],
        ["sf2rr", "f3rr"],
        ["sf2rr", "f2r"],
        ["sf1r", "f2r"],
        ["sf1rr", "f2r"],
        ["sf1rr", "f2rr"],
        ["sf1r", "f3r"],

        //b
	["sf2r", "b3l"],
        ["sf2r", "b2l"],
        ["sf2r", "b3r"],
        ["sf2r", "b2r"],
        ["sf2rr", "b3r"],
        ["sf2rr", "b3rr"],
        ["sf2rr", "b2r"],
        ["sf1r", "b2r"],
        ["sf1rr", "b2r"],
        ["sf1rr", "b2rr"],
        ["sf1r", "b3r"],

	//chassis
	["sf2r", "c4r"],
        ["sf2r", "c3r"],
        ["sf2r", "c4r"],
        ["sf2r", "c3r"],
        ["sf2rr", "c4r"],
        ["sf2rr", "c4rr"],
        ["sf2rr", "c3r"],
        ["sf1r", "c3r"],
        ["sf1rr", "c3r"],
        ["sf1rr", "c3rr"],
        ["sf1r", "c4r"],

	//semi cab
	["sf2r", "dc9rr"],
        ["sf2r", "dc7rr"],
        ["sf2r", "dc9ll"],
        ["sf2r", "dc7ll"],
        ["sf2rr", "dc9"],
        ["sf2rr", "dc9rr"],
        ["sf2rr", "dc7"],
        ["sf1r", "dc6"],
        ["sf1rr", "dc6"],
        ["sf1rr", "dc6rr"],
        ["sf1r", "dc7"],

        //limiter
        {"beamType":"|SUPPORT", "beamLongBound":5},
        {"beamSpring":470000,"beamDamp":141},
        {"beamPrecompression":0.9},
        {"beamDeform":6000,"beamStrength":"FLT_MAX"},
        
	//to pillars
	["sf2r", "p1r"],
        ["sf2r", "p2r"],
	["sf2r", "p3r"],
        ["sf2r", "p4r"],
	["sf2r", "p5r"],
        ["sf2r", "p6r"],
	["sf2r", "p7r"],
        ["sf2r", "p8r"],

	["sf3r", "p1r"],
        ["sf3r", "p2r"],
	["sf3r", "p3r"],
        ["sf3r", "p4r"],
	["sf3r", "p5r"],
        ["sf3r", "p6r"],
	["sf3r", "p7r"],
        ["sf3r", "p8r"],
        
	//to floor
	["sf1r", "f1rr"],
        ["sf1r", "f3rr"],
	["sf1r", "b1rr"],
        ["sf1r", "b3rr"],

        {"optional":false},
        {"beamPrecompression":1},

        {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
        {"deformLimitExpansion":""},
    ],
    "triangles":[
        ["id1:", "id2:", "id3:"],
        {"groundModel":"metal"},
        {"dragCoef":0},

        //--ADD SEATS COLLISION--

        ["sf2l",  "sf1l",  "sf1ll"],
        ["sf1ll", "sf2ll", "sf2l"],
        ["sf3l",  "sf2l",  "sf2ll"],
        ["sf2ll", "sf3ll", "sf3l"],

	["sf1r", "sf2r", "sf1rr"],
        ["sf2rr", "sf1rr", "sf2r"],
        ["sf2r", "sf3r", "sf2rr"],
        ["sf3rr", "sf2rr", "sf3r"],
    ],

},

}