PhysX Problems
by Max · in Torque Game Engine · 02/13/2008 (7:56 am) · 1 replies
Hey,
I used this resource:
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10258
I used the 2.7.0 PhysX SDK just as it said in the resource.
I got it compiled correctly without any warnings, and I didn't have to delete anything to get it to compile.
I implemented all of the scripts just as I should have.
However, from that point it started crashing when the gPhysicsSDK object is supposed to be created.
I used this piece of code that stopped it from crashing:
I'm thinking I have a problem with my PhysX system software. If anyone has gotten this resource working, could you tell me what version of the PhysX runtime you used?
Thank you.
I used this resource:
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10258
I used the 2.7.0 PhysX SDK just as it said in the resource.
I got it compiled correctly without any warnings, and I didn't have to delete anything to get it to compile.
I implemented all of the scripts just as I should have.
However, from that point it started crashing when the gPhysicsSDK object is supposed to be created.
I used this piece of code that stopped it from crashing:
// cant continue without gPhysicsSDK
if (!gPhysicsSDK){
Con::errorf("PhysX did not initialize properly!");
return false;
}From there it doesn't crash, but the world object still doesn't get created.I'm thinking I have a problem with my PhysX system software. If anyone has gotten this resource working, could you tell me what version of the PhysX runtime you used?
Thank you.
About the author
Torque 3D Owner Yuejun Zhang