The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.31 (Linux)
|
Bug in cartire.cpp CARTIRE::PacejkaMz - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3) +--- Forum: Bugs (https://www.vdrift.net/Forum/forumdisplay.php?fid=7) +--- Thread: Bug in cartire.cpp CARTIRE::PacejkaMz (/showthread.php?tid=1549) |
Bug in cartire.cpp CARTIRE::PacejkaMz - LBodnar - 08-15-2011 The intention of friction_coeff is to scale the total result therefore its early application to D is problematic because D itself is used in calculation of B. Code: // peak factor Should be Code: // peak factor - NaN - 08-16-2011 Maybe it is intended? But I think you are right. It should be at least be similar to Fx, Fy. I'll push a fix. - LBodnar - 08-16-2011 NaN Wrote:Maybe it is intended? But I think you are right. It should be at least be similar to Fx, Fy. I'll push a fix.It looks like a bug. At low angles Mz ~ B * D so if D ~ friction_coeff and B ~ 1/friction_coeff then friction_coeff is cancelled out and that is exactly how it feels. There was no difference in feel over grass or tarmac. I think Sv should be scaled down as well. I.e. consider non-friction surface with friction_coeff = 0. I assume Mz should be zero rather then Sv. Code: Mz = friction_coeff * (D * ... + Sv); |