Duncan wrote: ↑1 year ago
Hi Paul,
Thanks, I've enjoyed reading about your work here and having the opportunity to think more about GPL's physics and how you are developing the project. Are you still continuing with it?
Thanks, Duncan
Hi Duncan, welcome to The Fastlane and thanks for your interest!
Yes, work has resumed on the project. I took a break for a few months to work on the GPL Addons site, the Slipstream patch, 1955 mod AI patch etc.
To give a more detailed update, I was unable to find the sweet spot with the following code I had written.
PTRACER wrote: ↑2 years ago
I have rewritten the "Loss of grip with tread speed" code (featured in most newer mods) to match the calculation used in Assetto Corsa.
Previous calculation: Mμ = Mμ x (1 - (WheelSpeed x GripLossCoeff))
New calculation: Mμ = Mμ / (1 + ((Slip Velocity) x GripLossCoeff)
When I revisited Assetto Corsa's code, I realised that Slip Velocity was not such a simple formula as [Wheel Speed x Slip Ratio].
Actually it's SQRT((WheelSpeed*SlipRatio*Cos(LongSlipAngle)^2) + WheelSpeed*Sin(LatSlipAngle)^2). I've been doing a deep dive analysis of GPL's tyre code over the last week or two to see if those values can be obtained and I believe they can. Next I'll be writing a test patch to see if this new calculation is any better.
In addition to the above, I've requested permission to add some features in from a patch by another author. I'll let you know what they are if/when permission is obtained...