{
"hotgirl_mod_intcollision_R": {
    "information":{
        "authors":"mairusss",
        "name":"Use when Rear Passengers Clip Through Seat",
    },
    "slotType" : "hotgirl_mod_intcollision_R",
    "nodes": [
        ["id", "posX", "posY", "posZ"],
        {"collision":false},
        {"selfCollision":false},
        {"nodeWeight":2},
        {"frictionCoef":0},
        {"nodeMaterial":"|NM_PLASTIC"},
	{"group":""},
	{"breakGroup":""},

	//Very janky setup for universal automatic node placement

	//rear seat
	["intcollision_Rseatbr", "$=$cbpRLpassOffsetX_setup == nil and -$cbpRLpassOffsetX-0.25 or -$cbpRLpassOffsetX_setup-0.25",   "$=$cbpRLpassOffsetY_setup == nil and $cbpRLpassOffsetY-0.42 or $cbpRLpassOffsetY_setup-0.42", "$=$cbpRLpassOffsetZ_setup == nil and $cbpRLpassOffsetZ+0.85 or $cbpRLpassOffsetZ_setup+0.85"],
	["intcollision_Rseatbl", "$=$cbpRLpassOffsetX_setup == nil and $cbpRLpassOffsetX+0.25 or $cbpRLpassOffsetX_setup+0.25", "$=$cbpRLpassOffsetY_setup == nil and $cbpRLpassOffsetY-0.42 or $cbpRLpassOffsetY_setup-0.42", "$=$cbpRLpassOffsetZ_setup == nil and $cbpRLpassOffsetZ+0.85 or $cbpRLpassOffsetZ_setup+0.85"],
	["intcollision_Rseatmr", "$=$cbpRLpassOffsetX_setup == nil and -$cbpRLpassOffsetX-0.25 or -$cbpRLpassOffsetX_setup-0.25",   "$=$cbpRLpassOffsetY_setup == nil and $cbpRLpassOffsetY-0.00 or $cbpRLpassOffsetY_setup-0.00", "$=$cbpRLpassOffsetZ_setup == nil and $cbpRLpassOffsetZ+0.75 or $cbpRLpassOffsetZ_setup+0.75"],
	["intcollision_Rseatml", "$=$cbpRLpassOffsetX_setup == nil and $cbpRLpassOffsetX+0.25 or $cbpRLpassOffsetX_setup+0.25", "$=$cbpRLpassOffsetY_setup == nil and $cbpRLpassOffsetY-0.00 or $cbpRLpassOffsetY_setup-0.00", "$=$cbpRLpassOffsetZ_setup == nil and $cbpRLpassOffsetZ+0.75 or $cbpRLpassOffsetZ_setup+0.75"],
	["intcollision_Rseattr", "$=$cbpRLpassOffsetX_setup == nil and -$cbpRLpassOffsetX-0.25 or -$cbpRLpassOffsetX_setup-0.25",   "$=$cbpRLpassOffsetY_setup == nil and $cbpRLpassOffsetY+0.22 or $cbpRLpassOffsetY_setup+0.22", "$=$cbpRLpassOffsetZ_setup == nil and $cbpRLpassOffsetZ+1.30 or $cbpRLpassOffsetZ_setup+1.30"],
	["intcollision_Rseattl", "$=$cbpRLpassOffsetX_setup == nil and $cbpRLpassOffsetX+0.25 or $cbpRLpassOffsetX_setup+0.25", "$=$cbpRLpassOffsetY_setup == nil and $cbpRLpassOffsetY+0.22 or $cbpRLpassOffsetY_setup+0.22", "$=$cbpRLpassOffsetZ_setup == nil and $cbpRLpassOffsetZ+1.30 or $cbpRLpassOffsetZ_setup+1.30"],

	{"collision":true},
        {"selfCollision":true},	
    ],
    "beams": [
        ["id1:", "id2:"],
        {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
	{"beamSpring": 101000,"beamDamp":10},
     	{"beamDeform": 10000, "beamStrength":"FLT_MAX"}, 
        {"breakGroup":""},

	//--INTERIOR COLLISION BEAMS--
	
	//rear seat
				
	["intcollision_Rseatbr", "intcollision_Rseatbl"],
	["intcollision_Rseatbr", "intcollision_Rseatmr"],
	["intcollision_Rseatbr", "intcollision_Rseatml"],
	["intcollision_Rseatbr", "intcollision_Rseattr"],
	["intcollision_Rseatbr", "intcollision_Rseattl"],

	["intcollision_Rseatbl", "intcollision_Rseatmr"],
	["intcollision_Rseatbl", "intcollision_Rseatml"],
	["intcollision_Rseatbl", "intcollision_Rseattr"],
	["intcollision_Rseatbl", "intcollision_Rseattl"],

	["intcollision_Rseatmr", "intcollision_Rseatml"],
	["intcollision_Rseatmr", "intcollision_Rseattr"],
	["intcollision_Rseatmr", "intcollision_Rseattl"],

	["intcollision_Rseatml", "intcollision_Rseattr"],
	["intcollision_Rseatml", "intcollision_Rseattl"],

	["intcollision_Rseattr", "intcollision_Rseattl"],

	//--ATTACH--
	{"beamSpring": 101000,"beamDamp":10},
	{"beamDeform": 20000, "beamStrength":20000}, 
	{"optional":true},
	{"breakGroup":"intcollision"},

	//to f l

	["intcollision_Rseatbr", "f1ll"],
	["intcollision_Rseatbr", "f2ll"],
	["intcollision_Rseatbr", "f3ll"],
	["intcollision_Rseatbr", "f4ll"],
	["intcollision_Rseatbr", "f5ll"],
	["intcollision_Rseatbr", "f6ll"],

	["intcollision_Rseatbl", "f1ll"],
	["intcollision_Rseatbl", "f2ll"],
	["intcollision_Rseatbl", "f3ll"],
	["intcollision_Rseatbl", "f4ll"],
	["intcollision_Rseatbl", "f5ll"],
	["intcollision_Rseatbl", "f6ll"],

	["intcollision_Rseatmr", "f1ll"],
	["intcollision_Rseatmr", "f2ll"],
	["intcollision_Rseatmr", "f3ll"],
	["intcollision_Rseatmr", "f4ll"],
	["intcollision_Rseatmr", "f5ll"],
	["intcollision_Rseatmr", "f6ll"],

	["intcollision_Rseatml", "f1ll"],
	["intcollision_Rseatml", "f2ll"],
	["intcollision_Rseatml", "f3ll"],
	["intcollision_Rseatml", "f4ll"],
	["intcollision_Rseatml", "f5ll"],
	["intcollision_Rseatml", "f6ll"],

	["intcollision_Rseattr", "f1ll"],
	["intcollision_Rseattr", "f2ll"],
	["intcollision_Rseattr", "f3ll"],
	["intcollision_Rseattr", "f4ll"],
	["intcollision_Rseattr", "f5ll"],
	["intcollision_Rseattr", "f6ll"],

	["intcollision_Rseattl", "f1ll"],
	["intcollision_Rseattl", "f2ll"],
	["intcollision_Rseattl", "f3ll"],
	["intcollision_Rseattl", "f4ll"],
	["intcollision_Rseattl", "f5ll"],
	["intcollision_Rseattl", "f6ll"],
	
	
	//to f r
	
	["intcollision_Rseatbr", "f1rr"],
	["intcollision_Rseatbr", "f2rr"],
	["intcollision_Rseatbr", "f3rr"],
	["intcollision_Rseatbr", "f4rr"],
	["intcollision_Rseatbr", "f5rr"],
	["intcollision_Rseatbr", "f6rr"],

	["intcollision_Rseatbl", "f1rr"],
	["intcollision_Rseatbl", "f2rr"],
	["intcollision_Rseatbl", "f3rr"],
	["intcollision_Rseatbl", "f4rr"],
	["intcollision_Rseatbl", "f5rr"],
	["intcollision_Rseatbl", "f6rr"],

	["intcollision_Rseatmr", "f1rr"],
	["intcollision_Rseatmr", "f2rr"],
	["intcollision_Rseatmr", "f3rr"],
	["intcollision_Rseatmr", "f4rr"],
	["intcollision_Rseatmr", "f5rr"],
	["intcollision_Rseatmr", "f6rr"],

	["intcollision_Rseatml", "f1rr"],
	["intcollision_Rseatml", "f2rr"],
	["intcollision_Rseatml", "f3rr"],
	["intcollision_Rseatml", "f4rr"],
	["intcollision_Rseatml", "f5rr"],
	["intcollision_Rseatml", "f6rr"],

	["intcollision_Rseattr", "f1rr"],
	["intcollision_Rseattr", "f2rr"],
	["intcollision_Rseattr", "f3rr"],
	["intcollision_Rseattr", "f4rr"],
	["intcollision_Rseattr", "f5rr"],
	["intcollision_Rseattr", "f6rr"],

	["intcollision_Rseattl", "f1rr"],
	["intcollision_Rseattl", "f2rr"],
	["intcollision_Rseattl", "f3rr"],
	["intcollision_Rseattl", "f4rr"],
	["intcollision_Rseattl", "f5rr"],
	["intcollision_Rseattl", "f6rr"],
	
	//to b l

	["intcollision_Rseatbr", "b1ll"],
	["intcollision_Rseatbr", "b2ll"],
	["intcollision_Rseatbr", "b3ll"],
	["intcollision_Rseatbr", "b4ll"],
	["intcollision_Rseatbr", "b5ll"],
	["intcollision_Rseatbr", "b6ll"],

	["intcollision_Rseatbl", "b1ll"],
	["intcollision_Rseatbl", "b2ll"],
	["intcollision_Rseatbl", "b3ll"],
	["intcollision_Rseatbl", "b4ll"],
	["intcollision_Rseatbl", "b5ll"],
	["intcollision_Rseatbl", "b6ll"],

	["intcollision_Rseatmr", "b1ll"],
	["intcollision_Rseatmr", "b2ll"],
	["intcollision_Rseatmr", "b3ll"],
	["intcollision_Rseatmr", "b4ll"],
	["intcollision_Rseatmr", "b5ll"],
	["intcollision_Rseatmr", "b6ll"],

	["intcollision_Rseatml", "b1ll"],
	["intcollision_Rseatml", "b2ll"],
	["intcollision_Rseatml", "b3ll"],
	["intcollision_Rseatml", "b4ll"],
	["intcollision_Rseatml", "b5ll"],
	["intcollision_Rseatml", "b6ll"],

	["intcollision_Rseattr", "b1ll"],
	["intcollision_Rseattr", "b2ll"],
	["intcollision_Rseattr", "b3ll"],
	["intcollision_Rseattr", "b4ll"],
	["intcollision_Rseattr", "b5ll"],
	["intcollision_Rseattr", "b6ll"],

	["intcollision_Rseattl", "b1ll"],
	["intcollision_Rseattl", "b2ll"],
	["intcollision_Rseattl", "b3ll"],
	["intcollision_Rseattl", "b4ll"],
	["intcollision_Rseattl", "b5ll"],
	["intcollision_Rseattl", "b6ll"],
	
	
	//to b r
	
	["intcollision_Rseatbr", "b1rr"],
	["intcollision_Rseatbr", "b2rr"],
	["intcollision_Rseatbr", "b3rr"],
	["intcollision_Rseatbr", "b4rr"],
	["intcollision_Rseatbr", "b5rr"],
	["intcollision_Rseatbr", "b6rr"],

	["intcollision_Rseatbl", "b1rr"],
	["intcollision_Rseatbl", "b2rr"],
	["intcollision_Rseatbl", "b3rr"],
	["intcollision_Rseatbl", "b4rr"],
	["intcollision_Rseatbl", "b5rr"],
	["intcollision_Rseatbl", "b6rr"],

	["intcollision_Rseatmr", "b1rr"],
	["intcollision_Rseatmr", "b2rr"],
	["intcollision_Rseatmr", "b3rr"],
	["intcollision_Rseatmr", "b4rr"],
	["intcollision_Rseatmr", "b5rr"],
	["intcollision_Rseatmr", "b6rr"],

	["intcollision_Rseatml", "b1rr"],
	["intcollision_Rseatml", "b2rr"],
	["intcollision_Rseatml", "b3rr"],
	["intcollision_Rseatml", "b4rr"],
	["intcollision_Rseatml", "b5rr"],
	["intcollision_Rseatml", "b6rr"],

	["intcollision_Rseattr", "b1rr"],
	["intcollision_Rseattr", "b2rr"],
	["intcollision_Rseattr", "b3rr"],
	["intcollision_Rseattr", "b4rr"],
	["intcollision_Rseattr", "b5rr"],
	["intcollision_Rseattr", "b6rr"],

	["intcollision_Rseattl", "b1rr"],
	["intcollision_Rseattl", "b2rr"],
	["intcollision_Rseattl", "b3rr"],
	["intcollision_Rseattl", "b4rr"],
	["intcollision_Rseattl", "b5rr"],
	["intcollision_Rseattl", "b6rr"],
	

	{"optional":false},
	{"breakGroup":""},
	{"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
    "triangles":[
        ["id1:", "id2:", "id3:"],
        {"groundModel":"metal"},
        {"dragCoef":0},

        //--ADD SEATS COLLISION--

        ["intcollision_Rseatbr",  "intcollision_Rseatbl",  "intcollision_Rseatml"],
	["intcollision_Rseatbr",  "intcollision_Rseatml",  "intcollision_Rseatmr"],
	["intcollision_Rseattl",  "intcollision_Rseattr",  "intcollision_Rseatmr"],
	["intcollision_Rseattl",  "intcollision_Rseatmr",  "intcollision_Rseatml"],
        
    ],

},

}