Per particle data for cloth. More...
#include <PxClothTypes.h>
Public Member Functions | |
PxClothParticle () | |
Default constructor, performs no initialization. More... | |
PxClothParticle (const PxVec3 &pos_, PxReal invWeight_) | |
Public Attributes | |
PxVec3 | pos |
position of the particle (in cloth local space) More... | |
PxReal | invWeight |
inverse mass of the particle. If set to 0, the particle is fully constrained. More... | |
Per particle data for cloth.
Defines position of the cloth particle as well as inverse mass. When inverse mass is set to 0, the particle gets fully constrained to the position during simulation.
|
inline |
Default constructor, performs no initialization.
PxReal PxClothParticle::invWeight |
inverse mass of the particle. If set to 0, the particle is fully constrained.
PxVec3 PxClothParticle::pos |
position of the particle (in cloth local space)