Sign in to follow this  

physx vehicle problem

This topic is 1708 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites

Solved.

I forgot to put the vehicle in rest state before adding it to scene.

Share this post


Link to post
Share on other sites

This topic is 1708 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this