I try to use GPU accerlation,
I set "SDKDesc.flags &= ~NX_SDKF_NO_HARDWARE;" when I created my SDK and used
NxHWVersion hwCheck = gPhysicsSDK->getHWVersion();
if (hwCheck == NX_HW_VERSION_NONE)
cout<<"\nWarning: Unable to find a PhysX card, the cloth will be simulated in software.\n\n";
to check if GPU is set or not. then I create a cloth fall down because of gravity.
desc.flags |= NX_CLF_VISUALIZATION ;
desc.flags |= NX_CLF_BENDING;
desc.flags |= NX_CLF_HARDWARE;"
if I don’t set “desc.flags |= NX_CLF_HARDWARE;”, Everything is fine. the cloth fall down and stay on the ground, but if I set “desc.flags |= NX_CLF_HARDWARE;” it will hit ground then it rebound to very high altitude and disappear. It seems very strange, What happen in my program?