Physx cloth

I use PxCloth to create a leaf, each leaf seems a actor and add to scene . There are so many leaves on the tree, if we use this way to implement a tree, when we want to shake off leaves, it is very slow! If we want it fall down more quickly What can I do?

You can make a single cloth actor that has multiple cloth pieces to it. However, you will find that the leaves do not collide with the ground automatically, you have to create cloth-specific collision triangles for your environment.


Fall down and hit the ground more quickly?

If so, you can use
\brief Sets external particle accelerations.
\param [in] acceleration New acceleration in global coordinates (default: 0.0).
\note Use this to implement simple wind etc.
virtual void setExternalAcceleration(PxVec3 acceleration) = 0;