spectik 118 Posted September 27, 2014 Hello, i have a problem with my EOD bot i'm working on. Finally managed to get it working at least a bit, but now it stays mostly on ground (or max speed goes to 1 km/h) and i don't know, what am i doing wrong. I even tried to put physX config from tank engine there, it only helped with RPM and effectivity, but speed is still same and can't get past 1st gear. It turns without a problem, at least when controlling it by keyboard, when i try it by mouse, it starts to spin left and right until i use keyboard again. And one more thing, for arm. I can turn it in 1st person (optic view) but if i try in 3rd person, nothing happens. Do i need to put something special in config to make it movable in 3rd person too? Thx for answer. :) Here i have some screens of LODs and in game values: http://i.imgur.com/UrS3zBV.jpg Geometry http://i.imgur.com/zcMsxTo.jpg PhysX http://i.imgur.com/tj2XNp3.jpg Memory http://i.imgur.com/wL8Bwra.jpg And here PhysX config: simulation = "tankX"; enginePower = 130; //0.4 maxOmega = 200; peakTorque = 400,//1910 max RPM torqueCurve[] = {{0, 0}, {0.14, 0.42}, {0.29,0.71}, {0.43,0.1}, {0.57,0.1}, {0.71,0.97}, {0.86,0.89}, {1,0.7}}; thrustDelay = 0.1; clutchStrength = 26.0; fuelCapacity = 200; brakeIdleSpeed = 1.78; latency = 0.1; tankTurnForce = 6600; normalSpeedForwardCoef = 0.5; idleRpm = 510; redRpm = 2300; engineLosses = 5; transmissionLosses = 5; class complexGearbox { GearboxRatios[] = {"R1", -3.8, "N", 0,"D1", 5.364, "D2", 2.571, "D3", 1.491, "D4", 1.132, "D5", 0.845}; TransmissionRatios[] = {"High", 5}; gearBoxMode = "auto"; moveOffGear = 1; driveString = "D"; neutralString = "N"; reverseString = "R"; transmissionDelay = 0.1; }; class Wheels { class L2 { boneName = "wheel_podkoloL2"; center = "wheel_1_2_axis"; boundary = "wheel_1_2_bound"; damping = 20.0; steering = 0; side = "left"; weight = 5; mass = 5; MOI = 8; latStiffX = 2; latStiffY = 15; longitudinalStiffnessPerUnitGravity = 60; maxBrakeTorque = 10000; sprungMass = 10.0; springStrength = 250; springDamperRate = 40; dampingRate = 0.1; dampingRateInAir = 2000.0; dampingRateDamaged = 1.0; dampingRateDestroyed = 1000; maxDroop = 0.001; maxCompression = 0.001; frictionVsSlipGraph[] = {{ 0.17,0.85 }, { 0.4,0.65 },{ 1,0.4 }}; }; class L3 : L2 { boneName = "wheel_podkoloL3"; center = "wheel_1_3_axis"; boundary = "wheel_1_3_bound"; }; class L1 : L2 { boneName = "wheel_podkoloL1"; center = "wheel_1_1_axis"; boundary = "wheel_1_1_bound"; }; class R2 : L2 { boneName = "wheel_podkoloP2"; center = "wheel_2_2_axis"; boundary = "wheel_2_2_bound"; side = "right"; }; class R3 : R2 { boneName = "wheel_podkoloP3"; center = "wheel_2_3_axis"; boundary = "wheel_2_3_bound"; }; class R1 : R2 { boneName = "wheel_podkoloP1"; center = "wheel_2_1_axis"; boundary = "wheel_2_1_bound"; }; }; Share this post Link to post Share on other sites
x3kj 1247 Posted September 27, 2014 (edited) This sounds similar to a similar problem like i had. Something's awry about the memorypoint setup in your LOD i think - either selection names (p3d or config) or your memorypoints are not 100% straightened out. The memorypoints of the wheel axis have to be exactly aligned above the boundary points. Maybe try a really high gear ratio (maybe 100 or 200) and see if something happens. If it does, it is an indicator of either just too high MOI and dampingRateInAir per wheel, or your physx wheels are bigger then you intended them to be due to an error. I see you have different sized wheels - make the middle one the same size as the rest and see if that helps. The physx wheel doesnt have to be the exact same size as the visible wheel. Physx doesnt like different sized wheels from what i can tell (my tanks have it too and they are still wonky). Edited September 27, 2014 by Fennek Share this post Link to post Share on other sites
spectik 118 Posted September 28, 2014 Thx, tried it, ratio alone doesn't really do much, so i tried those wheels, copied one of those big instead the middle one(+ changed axis and boundary in memory LOD), RPM and effectivity is working better now, but after some time it drops back to zero (especially when i try full throttle) and starts from beginning, speed stays same, only when i tried MOI like 800, it actually went to 3km/h. This is my first vehicle so i don't really know what i'm doing at the moment, worked much better when i used carx simulation at start, it was able to move at least. :D Share this post Link to post Share on other sites