Hi all,
This is a DarkGDK Problem
I just got darkphysic and I'm in love with the stuff I've managed to used. Everything works except this!!!! dbPhyBuildVehicle and it's bugging the crap outta me
I have the lastest nvidia drivers. I'm using two 8800gt's in sli, and a Q6600. It's an error I havn't seen on the forums but hopefully someone can help me out. Also im using Windows XP.
Btw could the problem be that my C++ is installed on my D: drive and my GDK is install on the C:. Still everything else seems to be working :S
Do I have to do something in the project settings. (That managed to fix problems with compiling).
On the GDK page on TGC website for the screensaver is requires DirectX SDK March 2008 (or later), does that mean I need to get this SDK for DarkPhyiscs to work properly?
Debug Mode Error:
Unhandled exception at 0x00408b42 in PhysicsGame.exe: 0xC0000005: Access violation reading location 0x00000088.
Release Mode Error:
Unhandled exception at 0x004044e2 in PhysicsGame.exe: 0xC0000005: Access violation reading location 0x00000088.
After I break that except this comes up...
No symbols are loaded for any call stack frame. The source code cannot be displayed.
I clicked to view the error code error and this came up...
004044E2 fld dword ptr [esi+88h]
Maybe this can help but here is the function
void Make_Vehicle()
{
dbLoadObject("H-Beach Bug-Move.x",2);
dbPositionObject(2,15,2,-25);
dbRotateLimb(2,0,0,-90,0);
dbPhyCreateVehicle(2);
dbPhyAddVehicleBody(2,2.2f,0.6f,0.75f,0.0f,0.6f,0.0f);
dbPhyAddVehicleWheel(2,5,1.5f,0.3f,1.1f,0.6f,0.2f,0,0);
dbPhyAddVehicleWheel(2,7,1.5f,0.3f,-1.1f,0.6f,0.2f,0,1);
dbPhyAddVehicleWheel(2,3,-1.5f,0.3f,-1.1f,0.6f,0.2f,1,0);
dbPhyAddVehicleWheel(2,9,-1.5f,0.3f,1.1f,0.6f,0.2f,1,1);
dbPhySetVehicleMaxMotor(2,200.0f);
dbPhySetVehicleSteeringDelta (2,0.1f);
dbPhySetVehicleMaxSteeringAngle(2,0.4f);
dbPhySetVehicleAuto(2,1);
dbPhySetVehicleSuspensionSpring(2,100);
dbPhyBuildVehicle (2);
}
Any help at all would be the kindest