I downloaded the latest newton (2.16) verison and now a NewtonTreeCollisionEndBuild function call hangs-up my application.
I use this function to create the level-environment, the physics object which does not move or rotated, just as the ground for the other physics objects - but I think you all know what this function is.
Before I used newton 2.04 and this function call worked perfectly.
- Code: Select all
nCollision = NewtonCreateTreeCollision(nWorld, 0);
NewtonTreeCollisionBeginBuild(nCollision);
/* ... */
NewtonTreeCollisionAddFace(nCollision, 3, vArray, sizeof(float)*3, 1);
/* ... */
NewtonTreeCollisionEndBuild(nCollision, 1); // hang up
nBody = NewtonCreateBody(nWorld, nCollision);

