Hi all! After reading tutorials I came up with this simple creation. But I have some problems that I cant solve. Why it´s missing the RL-wheel? The nodes are correct in .jbeam (dont mind the FL wheel mesh) <- SOLVED. One of the letters was 1 not L The car wont move, it´s like handbrake on. Engine stolen from pickup and land cruiser gear ratios. Body texture wont load. Materials.cs should be fine. Steering is fine tho.. Here´s a pic and car folder. I would be happy if someone can point some errors. Thank you. Jbeam code: Code: {"Testiauto": { "information":{ "authors":"TomiL", "name":"Testiauto", } "slotType" : "main", "flexbodies": [ ["mesh", "[group]:", "nonFlexMaterials"], ["testiauto_body", ["testiauto_body_g"]], ["wheel_FL", ["wheel_FL_g"]], ], "nodes": [ ["id", "posX", "posY", "posZ"], {"nodeWeight":100}, {"frictionCoef":0.7}, {"nodeMaterial":"|NM_METAL"}, {"collision":true} {"selfCollision":true} {"group":"testiauto_body_g"}, ["nl0",1.703,-1.5,0.663], ["nl1",1.191,-1.5,0.663], ["nl2",1.191,-1.5,1.106], ["nr3",-1.191,-1.5,0.663], ["nr4",-1.191,-1.5,1.106], ["nr5",-1.703,-1.5,0.663], ["nl6",1.0,-1.0,1.106], ["nr7",-1.0,-1.0,1.106], ["nl8",0.835,-0.838,2.706], ["nr9",-0.835,-0.838,2.706], ["nl10",0.835,0.838,2.706], ["nr11",-0.835,0.838,2.706], ["nl12",1.0,1.0,1.106], ["nr13",-1.0,1.0,1.106], ["nl14",1.703,1.5,0.663], ["nl15",1.191,1.5,0.663], ["nl16",1.191,1.5,1.106], ["nr17",-1.191,1.5,0.663], ["nr18",-1.191,1.5,1.106], ["nr19",-1.703,1.5,0.663], ], "beams": [ ["id1:", "id2:"], {"beamSpring":2000000,"beamDamp":200}, {"beamDeform":80000,"beamStrength":"800000"}, ["nr7","nr9"], ["nr9","nr11"], ["nr11","nr13"], ["nr13","nr7"], ["nr11","nl10"], ["nl10","nl12"], ["nl12","nr13"], ["nl10","nl8"], ["nl8","nl6"], ["nl6","nl12"], ["nl8","nr9"], ["nr7","nl6"], ["nr4","nl2"], ["nr3","nl1"], ["nr3","nr4"], ["nl2","nl1"], ["nr5","nl0"], ["nr5","nr3"], ["nl1","nl0"], ["nl2","nl0"], ["nr4","nr5"], ["nr4","nl1"], ["nl2","nr3"], ["nr18","nl16"], ["nr17","nl15"], ["nr17","nr18"], ["nl16","nl15"], ["nr19","nl14"], ["nr19","nr17"], ["nl15","nl14"], ["nl16","nl14"], ["nr18","nr19"], ["nr18","nl15"], ["nl16","nr17"], ["nr11","nr7"], ["nl10","nr13"], ["nl8","nl12"], ["nr9","nl6"], ["nr13","nl6"], ["nl10","nr9"], ["nl1","nr5"], ["nl15","nr19"], ["nl6","nl10"], ["nr11","nl8"], ["nr7","nl8"], ["nl12","nr11"], ["nr13","nr9"], ["nr7","nl12"], ["nl6","nl1"], ["nr7","nr3"], ["nr9","nr3"], ["nl8","nl1"], ["nr7","nl1"], ["nl6","nr3"], ["nl6","nl2"], ["nl8","nl2"], ["nr9","nl2"], ["nr7","nl2"], ["nr7","nr4"], ["nr9","nr4"], ["nl8","nr4"], ["nl6","nr4"], ["nl8","nr3"], ["nl12","nl16"], ["nl10","nl16"], ["nr11","nl16"], ["nr13","nl16"], ["nl12","nl15"], ["nl10","nl15"], ["nr11","nl15"], ["nr13","nl15"], ["nr13","nr18"], ["nr11","nr18"], ["nl10","nr18"], ["nl12","nr18"], ["nr13","nr17"], ["nr11","nr17"], ["nl10","nr17"], ["nl12","nr17"], ["nl11","nl15"], ["nr3","nr17"], ["nl11","nr17"], ["nr3","nl15"], ], "hubWheels": [ ["name","group","node1:","node2:","nodeS","nodeArm:","wheelDir"], {"enableTireSideSupportBeams":true}, //general settings {"radius":0.61}, //Radius of the tire nodes {"hubRadius":0.30}, //Radius of the rim {"wheelOffset":0}, //Offset from the original position(Left/right) {"hubWidth":0.4}, //Width of the rim {"tireWidth":0.42}, //Width of the tire {"numRays":12}, //The amount of nodes to make the circle, more may result in smoother driving, but at the cost of performance, weight & stability //hub options {"hubBeamSpring":1081000, "hubBeamDamp":16}, {"beamSpring":1081000, "beamDamp":16}, {"hubBeamDeform":36000, "hubBeamStrength":112000}, {"beamDeform":240000,"beamStrength":380000}, {"hubNodeWeight":0.60}, //Weight of the rim nodes, to get the total weight of the rim, calculate numRays X nodeWeight X 2 {"hubNodeMaterial":"|NM_METAL"}, {"hubFrictionCoef":0.7}, //tire options {"wheelTreadBeamSpring":281000,"wheelTreadBeamDamp":90,"wheelTreadBeamDeform":25000,"wheelTreadBeamStrength":34000}, {"wheelPeripheryBeamSpring":281000,"wheelPeripheryBeamDamp":90,"wheelPeripheryBeamDeform":25000,"wheelPeripheryBeamStrength":34000}, {"springExpansion":1081000, "dampExpansion":18}, {"nodeWeight":0.60}, //Weight of the tire nodes, to get the total weight of the tire, calculate numRays X nodeWeight X 2 {"nodeMaterial":"|NM_RUBBER"}, {"frictionCoef":1.1}, //Tire friction for each node, increasing will add more grip to your vehicle // {"pressurePSI":30}, //Tire pressure in PSI {"maxPressurePSI":1500}, {"reinforcementPressurePSI":30}, {"pressureSpring":2601000}, {"reinforcementPressureSpring":144000}, {"pressureDamp":90}, {"reinforcementPressureDamp":90}, //front {"propulsed":1} {"selfCollision":false} {"collision":true} {"axleBeams":["nl1","nl0",]} ["FL", "wheel_FL_g", "nl0", "nl1", 9999, "nl2", 1], {"axleBeams":["nr5","nr3"]} ["FR", "wheel_FR_g", "nr5", "nr3", 9999, "nr4", -1], {"axleBeams":[]} {"enableABS":false} {"selfCollision":true} //rear {"propulsed":1} {"selfCollision":false} {"collision":true} {"axleBeams":["nl15","nl14",]} ["RL", "wheel_RL_g", "nl14", "nl15", 9999, "nl16", 1], {"axleBeams":["nr19","nr17"]} ["RR", "wheel_RR_g", "nr17", "nr19", 9999, "nr18", -1], {"axleBeams":[]} {"enableABS":false} {"selfCollision":true} ], "hydros": [ ["id1:","id2:"], ["nl0","nl15",{"factor":0.05,"steeringWheelLock":460,"lockDegrees":25}], ["nr5","nr17",{"factor":-0.05,"steeringWheelLock":460,"lockDegrees":25}], ["nr19","nr3",{"factor":-0.05,"steeringWheelLock":460,"lockDegrees":25}], ["nl14","nl1",{"factor":0.05,"steeringWheelLock":460,"lockDegrees":25}], ] "enginetorque":[ ["rpm", "torque"] //Torque curve [0, 0], [500, 300], [1000, 445], [2000, 565], [3000, 645], [4000, 675], [4500, 670], [5000, 635], [5400, 565], [6000, 425], ], "engine":{ "idleRPM":900, "shiftDownRPM":2700, "shiftUpRPM":5500, "maxRPM":6000, "inertia":0.26, "friction":20, "brakingCoefRPS":0.15 "burnEfficiency":0.40 "throttleSensitivity":1.25 //revised shift points "lowShiftDownRPM":1500, "lowShiftUpRPM":2700, "highShiftDownRPM":3200, "highShiftUpRPM":5500, //transmission section "transmissionType":"manual", //Automatic or manual, setting automatic will restrict the use of manual mode while playing. "lowShiftDownRPM":1400, "lowShiftUpRPM":3600, "highShiftDownRPM":3300, "highShiftUpRPM":6000, // -1, 0 (neutral), 1, etc "gears":[-4.925, 0, 4.925, 2.643, 1.519, 1.00] //Gear ratios "clutchDuration":0.25 "viscousCoupling":3.5 "lockingTorqueLimit":150 "enableLocking":true }, } }
I don't see any differentials. The gear ratios are prob too high without the final drive/diff ratio, and it may be that the diff code is required to get power to the wheels at all, not sure. My mod does the same thing when the diff slot is empty.
Well that makes sense. Didn´t even know there is any diff. code. BTW this stupid vehicle is just an exercise for my future Toyota Land Cruiser mod.
funny thing is this is about 100x further than many peolpe with perfect looking reference models have ever gotten, im glad to see your doing this in the opposite direction. learning the internals first instead of making a really pretty car that doesnt do anything but yet it gets a website created everyone wants it there may be a beta release at some point that barely works. So this is the best post i have ever seen.