PxParticleClothCooker #189
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rossetti73
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi all i try to modify snippetPDBCloth to use particoleClothCooker but seams not work i follow documentation on initcloth i add this lines:
`
PxParticleClothCooker* cooker = PxCreateParticleClothCooker(numParticles, (PxVec4*)(positionInvMass), numTriangles, triangles.begin());
cooker->cookConstraints();
cooker->calculateMeshVolume();
//PxArray triangles;
//PxArray springs;
triangles.resize(0);
springs.resize(0);
`
triangle and spring is create but cloth not work !!!
some one can help me to understand where i wrong ?
thanks
Beta Was this translation helpful? Give feedback.
All reactions