q-wer 10 Posted August 26, 2015 Hello Guys, I need some help with config i have 1 Problem: My Vehicle stuck in the Ground or smth like that: Is SetUp the Suspension with this very nice Tut: https://forums.bistudio.com/topic/155974-tutorial-creating-custom-engine-gearbox-and-suspension-vehicle-config/ VehicleMass (GemotryLod Mass): 6600 Here is the Phsyx: I hope u Guys can Help me Thanks thrustDelay = 0.2; /// initial delay to cause lesser slip when on 1st gear - thrust goes from zero to full in this time brakeIdleSpeed = 0.2; /// under what speed (in m/s) does the brake apply for a vehicle without thrust maxSpeed = 130; /// vehicle can go a bit over, but dramatically decreases thrust fuelCapacity = 45; wheelCircumference = 2.277; /// diameter of 725 antiRollbarForceCoef = 0.5; /// how strong is the anti-roll bar of vehicle preventing it to lose grip in turns (not any magical stuff, real ARB) antiRollbarForceLimit = 0.7; /// highest possible force of ARB antiRollbarSpeedMin = 10; /// the roll bar force gets from zero to full in range of min and max speed antiRollbarSpeedMax = 40; /// this simulates losing grip at high speed turns /// Gearbox and transmission via PhysX idleRpm = 2500; // RPM at which the engine idles. redRpm = 9000; // RPM at which the engine redlines. class complexGearbox { GearboxRatios[] = {"R1",-10.231,"N",0,"D1",2.462,"D2",1.870,"D3",1.241,"D4",0.970,"D5",0.711}; TransmissionRatios[] = {"High",5.1}; gearBoxMode = "auto"; moveOffGear = 1; driveString = "D"; neutralString = "N"; reverseString = "R"; }; simulation = "carx"; differentialType = "all_limited"; slowSpeedForwardCoef = 0.008; normalSpeedForwardCoef = 0.36; frontRearSplit = 0.5; frontBias = 1.3; rearBias = 1.3; centreBias = 1.3; //ENGINE torqueCurve[] = { {0 , 0}, {0.14 , 0.49}, {0.29 , 1.3}, {0.43 , 1.95}, {0.57 , 2.28}, {0.71 , 2.32}, {0.86 , 2.16}, {1 , 1.81} }; maxOmega = 429; enginePower = 319; peakTorque = 400; /// clutchStrength = 7.0; dampingRateFullThrottle = 0.08; //0,08 dampingRateZeroThrottleClutchEngaged = 2; //2,00 dampingRateZeroThrottleClutchDisengaged = .35; //0,35 changeGearMinEffectivity[] = {0.95,0.15,0.95,0.95,0.95,0.95,0.95}; switchTime = 0.31; latency = 1.0; class Wheels { class LF { boneName = "wheel_1_1"; steering = 1; side = "left"; center = "wheel_1_1_axis"; boundary = "wheel_1_1_bound"; width = "0.4"; mass = 20; MOI = 50; maxBrakeTorque = 2000; maxHandBrakeTorque = 0; suspTravelDirection[] = {0,-1,0}; suspForceAppPointOffset = "wheel_1_1_axis"; tireForceAppPointOffset = "wheel_1_1_axis"; //damping = 4000; dampingRate = 0.5; dampingRateDamaged = 1.0; dampingRateDestroyed = 1000.0; dampersBumpCoef = 0.1; sprungMass = 1100; springStrength = 40000; springDamperRate = 5307; maxCompression = 0.4; mMaxDroop = 0.5; longitudinalStiffnessPerUnitGravity = 10000; latStiffX = 25; latStiffY = 180; frictionVsSlipGraph[] = {{ 0,1 },{ 0.5,1 },{ 1,1 }}; }; class LR: LF { boneName = "wheel_1_3_damper"; steering = 0; center = "wheel_1_3_axis"; boundary = "wheel_1_3_bound"; suspForceAppPointOffset = "wheel_1_3_axis"; tireForceAppPointOffset = "wheel_1_3_axis"; maxHandBrakeTorque = 3500; }; class RF: LF { boneName = "wheel_2_1_damper"; center = "wheel_2_1_axis"; boundary = "wheel_2_1_bound"; suspForceAppPointOffset = "wheel_2_1_axis"; tireForceAppPointOffset = "wheel_2_1_axis"; steering = 1; side = "right"; }; class RR: RF { boneName = "wheel_2_3_damper"; steering = 0; center = "wheel_2_3_axis"; boundary = "wheel_2_3_bound"; suspForceAppPointOffset = "wheel_2_3_axis"; tireForceAppPointOffset = "wheel_2_3_axis"; maxHandBrakeTorque = 3500; }; class RM: LF { boneName = "wheel_2_2_damper"; center = "wheel_2_2_axis"; boundary = "wheel_2_2_bound"; suspForceAppPointOffset = "wheel_2_2_axis"; tireForceAppPointOffset = "wheel_2_2_axis"; steering = 1; side = "right"; }; class LM: LF { boneName = "wheel_1_2_damper"; center = "wheel_1_2_axis"; boundary = "wheel_1_2_bound"; suspForceAppPointOffset = "wheel_1_2_axis"; tireForceAppPointOffset = "wheel_1_2_axis"; steering = 1; side = "left"; }; }; Share this post Link to post Share on other sites
x3kj 1247 Posted August 28, 2015 I would guess that the config is not really the problem, its the memorypoints of the wheels. Either they dont match up properly, or you have a mistake in the paths in your config... or something entirely different. I have a similar problem, idk if it's the exact same. My tank also seems stuck in the ground (something "brakes" it), but at random can wiggle itself free in reverse and then drive normally... Have tried alot but so far everything failed. The only "answer" i have right now would be to try and start from scratch with all the physx setup and memorypoints, and hope to not do the same error again. Share this post Link to post Share on other sites
q-wer 10 Posted August 28, 2015 Oh no not from scratch :/ i will ty it reset all my mempoints and make a nwe physx setup :/ Thx for ur help Share this post Link to post Share on other sites
x3kj 1247 Posted August 30, 2015 Only redo the model.cfg animations for the wheel/suspension and the memorypoints for wheels/suspension (and all of the physx config). You dont need to scrap memorypoints & animations that have nothing to do with physx or wheels Share this post Link to post Share on other sites
tinter 186 Posted September 7, 2015 I've had an issue like this, my Geometry LOD had the tracks in my case, modelled into it. Make sure you have a Geometry Phys LOD and that the wheels or tracks aren't modelled in there. Share this post Link to post Share on other sites