Open whitespace-rebel opened 1 month ago
Please provide an example truck file demonstrating the issue.
Please provide an example truck file demonstrating the issue.
I edited my original post.
After further investigation it is clear that the forced acceleration is caused by the traction control, and all differentials are affected by this. The instability (exploding) is limited to the Viscous and Locked differentials only.
It seems like the traction control is trying to correct the wheel slip even if you decelerate (lift and coast). So when you have enough negative torque on the wheels, the traction control wants to correct it by accelerating?
Also the more pulses/second you have set in the traction control settings, the more error is produced (probably because the values get so small that the floating point precision is not enough).
The game applies torque to wheels by adding forces to all outer nodes. The simpler wheel models don't even have separate rim and tire so there's no other way to do it. I don't know from the top of my head whether the same applies to Tim+tire models, but I expect so.
Wheel stability is a frequent topic around here, I'm not really sure how to approach it. All our wheel models are hard coded and often rely on external tools to add extra reinforcement beams.
I would like to summerise.
The wheels themselves seem to be ok. They work with the Open an Split differentials.
There are two problems:
Maybe reducing the damping force of the viscous and locked differentials will help with the first problem. I have yet to compile RoR. If I succeed I will try it.
Hello everyone,
I'm trying to create 20 kg wheels. They work with the open and split differentials. But they are very unstable with viscous and even more unstable with the locked differential.
The traction control helps to make the wheels more stable. Without traction control the wheels (or the axle?) just explode.
With the viscous differential the wheels accelerate the car while i'm not even pressing the accelerate button. With the locked differential the car just gets reset when i'm trying to accelerate.
I don't know the solution, but I looked at the code for the differentials. Maybe the damping force is too high for lightweight wheels.
For demonstration, here is a modifeied .tuck file based on Ford Mustang (1979-1982) from PoLi. Get the original from: https://forum.rigsofrods.org/resources/ford-mustang-1979-1982.712/
and put the .truck file inside the 1982-Ford-Mustang-351W-PoLi.zip file (or folder if you extracted it): 1982-Ford-Mustang-MODIFIED.zip