spakowski
03-10-2008 12:55:26
Hi All,
I have downloaded the NxOgre version 0.9 and built for Ogre 1.4.9
I was able to successfully integrate the cloth functionality in my application "Thanks to Betajean for this wonderful work. I know 1.0.21 is still better without cloth support yet".
I am facing a crash in my application when i make my cloth tearable. The application crashes on Cloth::render(NxReal t) function.
I am not able to figure what is the problem. The cloth works correctly when i set the tear value to false.
Cloth Creation Code:
mWorld = new World("log: html");
mScene = mWorld->createScene("Default", mSceneMgr, "gravity: yes, floor: yes");
ClothParams cp;
cp.setToDefault();
cp.tear = true;
mScene->createCloth("SphereObject","sphere.50cm.mesh", Vector3( 0,10,0 ), cp);
Has anybody faced similar problem to this??
Please help me what should i do.
I have downloaded the NxOgre version 0.9 and built for Ogre 1.4.9
I was able to successfully integrate the cloth functionality in my application "Thanks to Betajean for this wonderful work. I know 1.0.21 is still better without cloth support yet".
I am facing a crash in my application when i make my cloth tearable. The application crashes on Cloth::render(NxReal t) function.
I am not able to figure what is the problem. The cloth works correctly when i set the tear value to false.
Cloth Creation Code:
mWorld = new World("log: html");
mScene = mWorld->createScene("Default", mSceneMgr, "gravity: yes, floor: yes");
ClothParams cp;
cp.setToDefault();
cp.tear = true;
mScene->createCloth("SphereObject","sphere.50cm.mesh", Vector3( 0,10,0 ), cp);
Has anybody faced similar problem to this??
Please help me what should i do.