{
"hotgirl_mod_steeringwheel_semi": {
    "information":{
        "authors":"mairusss",
        "name":"Steering Wheel Physics (Tilted)",
    },
    "slotType" : "hotgirl_mod_steeringwheel",
    "nodes": [
        ["id", "posX", "posY", "posZ"],
        {"collision":false},
        {"selfCollision":false},
        {"nodeWeight":0.1},
        {"frictionCoef":0},
        {"nodeMaterial":"|NM_PLASTIC"},
	{"group":""},
	{"breakGroup":""},

	//steering wheel	
	["intcollision_steertr", "$=$cbpdriverOffsetX_setup == nil and $cbpdriverOffsetX-0.15 or $cbpdriverOffsetX_setup-0.15", "$=$cbpdriverOffsetY_setup == nil and $cbpdriverOffsetY-0.60 or $cbpdriverOffsetY_setup-0.60", "$=$cbpdriverOffsetZ_setup == nil and $cbpdriverOffsetZ+1.25 or $cbpdriverOffsetZ_setup+1.25"],
	["intcollision_steertl", "$=$cbpdriverOffsetX_setup == nil and $cbpdriverOffsetX+0.15 or $cbpdriverOffsetX_setup+0.15", "$=$cbpdriverOffsetY_setup == nil and $cbpdriverOffsetY-0.60 or $cbpdriverOffsetY_setup-0.60", "$=$cbpdriverOffsetZ_setup == nil and $cbpdriverOffsetZ+1.30 or $cbpdriverOffsetZ_setup+1.30"],
	["intcollision_steerbr", "$=$cbpdriverOffsetX_setup == nil and $cbpdriverOffsetX-0.15 or $cbpdriverOffsetX_setup-0.15", "$=$cbpdriverOffsetY_setup == nil and $cbpdriverOffsetY-0.40 or $cbpdriverOffsetY_setup-0.40", "$=$cbpdriverOffsetZ_setup == nil and $cbpdriverOffsetZ+1.05 or $cbpdriverOffsetZ_setup+1.05"],
	["intcollision_steerbl", "$=$cbpdriverOffsetX_setup == nil and $cbpdriverOffsetX+0.15 or $cbpdriverOffsetX_setup+0.15", "$=$cbpdriverOffsetY_setup == nil and $cbpdriverOffsetY-0.40 or $cbpdriverOffsetY_setup-0.40", "$=$cbpdriverOffsetZ_setup == nil and $cbpdriverOffsetZ+1.10 or $cbpdriverOffsetZ_setup+1.10"],
	["intcollision_steermf", "$=$cbpdriverOffsetX_setup == nil and $cbpdriverOffsetX or $cbpdriverOffsetX_setup", "$=$cbpdriverOffsetY_setup == nil and $cbpdriverOffsetY-0.45 or $cbpdriverOffsetY_setup-0.45", "$=$cbpdriverOffsetZ_setup == nil and $cbpdriverOffsetZ+1.20 or $cbpdriverOffsetZ_setup+1.20"],
	["intcollision_steermr", "$=$cbpdriverOffsetX_setup == nil and $cbpdriverOffsetX or $cbpdriverOffsetX_setup", "$=$cbpdriverOffsetY_setup == nil and $cbpdriverOffsetY-0.65 or $cbpdriverOffsetY_setup-0.65", "$=$cbpdriverOffsetZ_setup == nil and $cbpdriverOffsetZ+0.95 or $cbpdriverOffsetZ_setup+0.95"],
		
	{"collision":true},
        {"selfCollision":true},	
    ],
    "beams": [
        ["id1:", "id2:"],
        {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1}, 
        {"breakGroup":""},

	//--STEERING WHEEL--
	{"beamSpring": 100000,"beamDamp":20},
	{"beamDeform": 10000, "beamStrength":"FLT_MAX"}, 

	//main shape
	["intcollision_steertl", "intcollision_steertr"],
	["intcollision_steerbl", "intcollision_steerbr"],
	["intcollision_steertl", "intcollision_steerbl"],
	["intcollision_steertr", "intcollision_steerbr"],
	["intcollision_steertl", "intcollision_steerbr"],
	["intcollision_steerbl", "intcollision_steertr"],

	//center nodes
	["intcollision_steertl", "intcollision_steermf"],
	["intcollision_steertr", "intcollision_steermf"],
	["intcollision_steerbl", "intcollision_steermf"],
	["intcollision_steerbr", "intcollision_steermf"],
	["intcollision_steertl", "intcollision_steermr"],
	["intcollision_steertr", "intcollision_steermr"],
	["intcollision_steerbl", "intcollision_steermr"],
	["intcollision_steerbr", "intcollision_steermr"],
	["intcollision_steermf", "intcollision_steermr"],

	//attach to dash
	["intcollision_dashtl", "intcollision_steermf"],
	["intcollision_dashbl", "intcollision_steermf"],
	["intcollision_dashtr", "intcollision_steermf"],
	["intcollision_dashbr", "intcollision_steermf"],
	["intcollision_dashtl", "intcollision_steermr"],
	["intcollision_dashbl", "intcollision_steermr"],
	["intcollision_dashtr", "intcollision_steermr"],
	["intcollision_dashbr", "intcollision_steermr"],


	
	//--DRIVER HANDS ON WHEEL--
	{"beamSpring": 10000,"beamDamp":10},
	{"beamDeform": 2000, "beamStrength":1000}, 
	{"optional":true},
	{"beamPrecompression":0.95},
	{"beamPrecompressionTime":0.5},

	{"breakGroup":"driver_hand_hold_latch_L"},

	["intcollision_steertr", "Dummy1_L_hand1"],
	["intcollision_steerbr", "Dummy1_L_hand1"],
	["intcollision_steertr", "Dummy1_L_hand2"],
	["intcollision_steerbr", "Dummy1_L_hand2"],
	["intcollision_steertr", "Dummy1_L_hand3"],
	["intcollision_steerbr", "Dummy1_L_hand3"],

	["intcollision_steertl", "Dummy1_L_hand1"],
	["intcollision_steerbl", "Dummy1_L_hand1"],
	["intcollision_steertl", "Dummy1_L_hand2"],
	["intcollision_steerbl", "Dummy1_L_hand2"],
	["intcollision_steertl", "Dummy1_L_hand3"],
	["intcollision_steerbl", "Dummy1_L_hand3"],

	{"breakGroup":"driver_hand_hold_latch_R"},
	
	["intcollision_steertr", "Dummy1_R_hand1"],
	["intcollision_steerbr", "Dummy1_R_hand1"],
	["intcollision_steertr", "Dummy1_R_hand2"],
	["intcollision_steerbr", "Dummy1_R_hand2"],
	["intcollision_steertr", "Dummy1_R_hand3"],
	["intcollision_steerbr", "Dummy1_R_hand3"],

	["intcollision_steertl", "Dummy1_R_hand1"],
	["intcollision_steerbl", "Dummy1_R_hand1"],
	["intcollision_steertl", "Dummy1_R_hand2"],
	["intcollision_steerbl", "Dummy1_R_hand2"],
	["intcollision_steertl", "Dummy1_R_hand3"],
	["intcollision_steerbl", "Dummy1_R_hand3"]
	

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

	//steering wheel
	["intcollision_steerbl", "intcollision_steerbr", "intcollision_steertl"],
	["intcollision_steertl", "intcollision_steerbr", "intcollision_steertr"],
		
    ],	
},

}