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;
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