irrlicht-physx quick help

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
neil
Posts: 12
Joined: Fri Sep 28, 2007 1:04 am

irrlicht-physx quick help

Post by neil »

Hi, i'm trying to build the irrlicht-physx tutorial using the 0.14 irrlicht version (because the irrlicht-physx source would have to be converted to suit verison 1.31) and am using the latest physx version. When I compile this tutorial I get three errors..

error C2039: 'broadPhase' : is not a member of 'NxSceneDesc'
error C2065: 'NX_BROADPHASE_COHERENT' : undeclared identifier
error C2039: 'collisionDetection' : is not a member of 'NxSceneDesc'

the source containing these errors looks like this:

Code: Select all

// Create the scene
	NxSceneDesc sceneDesc;
	sceneDesc.gravity               = gDefaultGravity;
	sceneDesc.broadPhase            = NX_BROADPHASE_COHERENT;
	sceneDesc.collisionDetection    = true;
	gScene = gPhysicsSDK->createScene(sceneDesc);
	if (!gScene)
		return false;
I then tried removing the two error making lines, the application compiled but when I started it the command screen closed before anything was displayed, the program turned itself off.

Can someone help me to fix these two errors? I would really like to be able to use physx in my application.

oh and the source for this can be obtained here
http://www.twilightstar.net/~andrew/wor ... torial.htm
neil
Posts: 12
Joined: Fri Sep 28, 2007 1:04 am

Post by neil »

Sorry for being an idiot :P , I figured out my previous question. Now when I run the Irrlicht_physx tutorial in debug mode it breaks on me at this line.

Code: Select all

q3mapTriangleMesh->loadPMap(q3mapPMap);
I'm sure someone must have successfully built and ran this application before, could someone help me fix this build error?
Post Reply