#Tank Suspension Dos

1 messages · Page 1 of 1 (latest)

sage lynx
#

@umbral jasper
I shall make a thread so I do not clog up the chat.

#

Here are my wheel axis (centre) and bounds overalyed on my visual model to show in centre.

#

This is my Phyx Lod

#

Here is my Geom Log (50,000 Total Mass) Right Now I am playing with weight cubes to see if the center of mass changes anything But not much has changed

#

damper set to zero

#

damper set to 1.0

#

animation class

#

wheel class (I have removed the side wheels that are higher up to see if that changes anything but not that I can see)
⁨```

class Wheels
{
class L2
{
side="left";
boneName="wheel_podkoloL1";
center="wheel_1_2_axis";
boundary="wheel_1_2_bound";
steering=0;
width=0.57;
mass=200;
MOI=22.2;
dampingRate=330;
dampingRateInAir=330;
dampingRateDamaged = 3300;
dampingRateDestroyed=3300;
maxDroop=0.15;
maxCompression=0.15;
sprungMass=5000;
springStrength=500000;
springDamperRate=100000;
maxBrakeTorque=46205;
latStiffX = 1.5;
latStiffY = 30;
longitudinalStiffnessPerUnitGravity = 12000;
frictionVsSlipGraph[]=
{
{0,0.5},
{0.1,1.5},
{0.5,0.89999998}
};
};
class L3: L2
{
boneName="Wheel_podkoloL2";
center="wheel_1_3_axis";
boundary="wheel_1_3_bound";
};
class L4: L2
{
boneName="Wheel_podkoloL3";
center="wheel_1_4_axis";
boundary="wheel_1_4_bound";
};
class L5: L2
{
boneName="Wheel_podkoloL4";
center="wheel_1_5_axis";
boundary="wheel_1_5_bound";
};
class L6: L2
{
boneName="Wheel_podkoloL5";
center="wheel_1_6_axis";
boundary="wheel_1_6_bound";
};```⁩

#

here is video of how it drives in game. It looks very stiff

old fulcrum
#

One thing I notice in the comparison is that the suspension distance is not very long. So it likely has less play room.

You could try having slightly less spring strength in the physX config

sage lynx
umbral jasper
#

I'll be able to give some thoughts on this in a few hours time when home.

sage lynx
#

No rush. thanks for the support

sage lynx
#

I do apologies for leaving, I am going to sleep now, will do some more work on it tmrw.

umbral jasper
#

Last wheel should always be 9. So in your case, 1-2-3-4-5-6-9

#

For tankx, I recommend using sprungMass = -1;, rather than a calculated figure of mass/wheels. Don't ask me why, experience shows it just gives better results. (Not so for carx though).

#

Try halving your damperRate springDamperRate=50000;

#

Show your model.cfg animation code for the dampers translation please. What is the physical distance between the memory points making up the translation axis for the dampers?

sage lynx
#

here is the skeleton

sage lynx
#

Wait, I'm a fucking idiot and my Damper_Destruct_Axis is set to wrong mem points

#

actually I might be crazy

#

Yeah I think I'm crazy and it didn't change anything.

#

I'm a double idiot. My damper axis was correct. I'm just tired and miss clicked wrong mem points

sage lynx
#

Hmmm. I'm not sure. Clearly I don't have the fluidity that vanilla tanks have. It doesn't look natural, very stiff and unrealistic. Possibly could be an animation problem with my wheels only going up and down? I don't have access to any advanced model configs so I just work with what I have online. I'm open to sharing files, I 100% made everything so I don't mind sharing stuff.

umbral jasper
#

Zip up all the files needed to build the pbo and DM me if you wish.

sage lynx
#

I've just noticed my Anim suspension is off, doing some changes to the axis and taking the model config from the tankx wiki, right now mine is the wrong way around. Also doing some adjustments to suspension amounts. If nothing about that works I'll DM you

#

hmm, is the tankwiki wrong?

sage lynx
#

wait

#

I think I figured it out. I had a simple bolt accident assigned to both the wheel and damper skeleton at the same time.

old fulcrum
#

ayyy

#

that does look pretty smooth

sage lynx
#

classic 2 skeleton bones assigned to the same object... this has been weeks of work. -_-

#

yeah no, that's 100% fixed it. Just loaded my older version up now to compare. My golly me.

#

One of those moments where you think you finally cracked modding and then there is an error and you suddenly think you know nothing again.

umbral jasper
#

It's obviously better, so that's good news.
However, I'd still be investigating why the wheels lift sooner than they should at an obstacle (clear in 2nd video). Perhaps the wheel circumference is incorrect.

sage lynx
umbral jasper
#

With regard to the error of having two selection names on the same object, that would be apparent in the bin log after building - look for "sum of weights is not 100" - worth getting used to checking that log after builds and fixing stuff it throws up.