When my vehicle is in air there is no problem but when wheel touch the ground my game crash.
and I'm getting this error:
First-chance exception at 0x00672cb7 in Game.exe: 0xC0000005: Access violation reading location 0x374a2c5c.
Unhandled exception at 0x00672cb7 in Game.exe: 0xC0000005: Access violation reading location 0x374a2c5c.
this is my call stack:
Game.exe!physx::PxVehicleUpdate::updateDrive4W() Line 2408 + 0x6 bytes C++
Game.exe!physx::PxVehicleUpdate::update() Line 3599 + 0x24 bytes C++
Game.exe!physx::PxVehicleUpdates() Line 3638 + 0x20 bytes C++
I think there is some thing wrong in ray casts but I don't know what is it.
any idea how can I solve this problem?