I'm not sure what is the version that you use.winstrol
I have work on many version and no one is final and polished, all is only alpha tests and i'm not super experimented under c++.
In my code the torque effect don't exist it's only a fake thing to make rotate the visual only and it is not 100% right.
About the pitch angle I use my personal command and it can need some fix too.
- Code: Select all
void ApplySteering (dFloat value)
{
dFloat vEngineSteerAngle = GenerateTiresSteerAngle( value );
dFloat vEngineSteerForce = GenerateTiresSteerForce( vEngineSteerAngle );
// Set the both generate steer angle and force value's
SetCustomTireSteerAngleForce( 0, vEngineSteerAngle, vEngineSteerForce );
SetCustomTireSteerAngleForce( 1, vEngineSteerAngle, vEngineSteerForce );
if (vId==1){
SetCustomTireSteerAngleForce( 2, -vEngineSteerAngle, -(vEngineSteerForce/2) );
SetCustomTireSteerAngleForce( 3, -vEngineSteerAngle, -(vEngineSteerForce/2) );
}
}
DGRaycastVehicleGenerateTiresSteerAngle
DGRaycastVehicleSetCustomTireSteerAngleForce
Your surely better to wait Julio work.
Because my version is only some personal tests and I have let's it public for let's Julio see the way that I use.
On this way Julio or other users can make a better solution and fix a lot of my error and math method.
Marc
I can't say sorry but currently I don't get this problem again like before.
I remember to have get this problem under c++ with a little personal engine, after have change some stuff on my timing method the glitch have go.
The major part of the times I have get this problem explained upper under Directx application.
Maybe this is not the same thing but the behaving explain upper seen the same.
Currently I work under c++ and under delphi pascal and I don't get the problem anymore.
I'm not 100% why it have go, but I don't have update any drivers, the only difference currently I don't use DX application at all.
Edited:
Maybe the directx application have more relation with PCI and the bug explain by microsoft.
I remember by running some directx game or application the glitch begin to happening like delfi explain upper.
Currently I use only GL application and I don't get the problem, it is in relation i'm not sure.
One thing that I remember when the problem happen, if after I run dx or gl app the problem is present on both and I need to reboot the computer.