Hello Community, firstly i have to note, that my English is really bad i´am a German . Ok now to my Problem. I tried to make a little Car and as a Template/Tutorial I use this ->Introduction_to_Vehicle_Creation I´m now at the wheels Section but with the wheels i fight really long (1 week ). When I spawn the Vehicle I see an Error in the Console (see Screen), but when I pause the Game and continue is the Car spawns but without Physiks and another Error occurred. In the Game a little Plate appear. I marked at one Screen the Nodes/Vertices that are important for the Wheels. (If someone not clear what I mean, I can try to discribe it with other Words ) Thanks for reading and helping me out. Code: {"Test": { "information":{ "authors":"Neo", "name":"Test", } "slotType" : "main", "hydros": [ ["id1:","id2:"], ["al9","ar7",{"factor":0.025,"steeringWheelLock":60,"lockDegrees":25}], ["ar13","al0",{"factor":-0.025,"steeringWheelLock":60,"lockDegrees":25}], ["ar5","al8",{"factor":-0.025,"steeringWheelLock":60,"lockDegrees":25}], ["al1","ar15",{"factor":0.025,"steeringWheelLock":60,"lockDegrees":25}], ], "nodes": [ ["id", "posX", "posY", "posZ"], {"nodeWeight":10}, {"frictionCoef":0.7}, {"nodeMaterial":"|NM_METAL"}, {"collision":true} {"selfCollision":true} ], "beams": [ ["id1:", "id2:"], {"beamSpring":2000000,"beamDamp":200}, {"beamDeform":80000,"beamStrength":"800000"}, ], "hubWheels": [ ["name","group","node1:","node2:","nodeS","nodeArm:","wheelDir"], {"enableTireSideSupportBeams":true}, //general settings {"radius":0.375}, //Radius of the tire nodes {"hubRadius":0.22}, //Radius of the rim {"wheelOffset":0}, //Offset from the original position(Left/right) {"hubWidth":0.225}, //Width of the rim {"tireWidth":0.215}, //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(This value must contain an even number between 2-50 ideally between 16-28. numbers below 10 shouldn't be used) //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 //pressure options {"pressurePSI":32}, //Tire pressure in PSI {"maxPressurePSI":1500}, {"reinforcementPressurePSI":31}, {"pressureSpring":2601000}, {"reinforcementPressureSpring":144000}, {"pressureDamp":90}, {"reinforcementPressureDamp":90}, //front {"selfCollision":false} {"collision":true} {"axleBeams":["al0","al1",]} ["FL", "wheel_FL", "al0", "al1", 9999, "al2", 1], {"axleBeams":["ar5","ar7"]} ["FR", "wheel_FR", "ar5", "ar7", 9999, "ar6", -1], {"axleBeams":[]} {"propulsed":0} {"enableABS":false} {"selfCollision":true} ], } }
Re: Car Creation - jBeam - Wheels Section Next time you've got an error and want to see in the console what the cause might be, scroll up until you see the first error lines. One of the first lines explains what's wrong, after that the game just spits out 'nil value' errors.
Re: Car Creation - jBeam - Wheels Section Ok i try it out, thanks for the Reply ---Edit:--- It works now - so simple