#include <PxClothTypes.h>
Public Member Functions | |
PxClothParticle () | |
Default constructor, performs no initialization. | |
PxClothParticle (const PxVec3 &pos_, PxReal invWeight_) | |
Public Attributes | |
PxVec3 | pos |
position of the particle (in cloth local space) | |
PxReal | invWeight |
inverse mass of the particle. If set to 0, the particle is fully constrained. |
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.
PxClothParticle::PxClothParticle | ( | ) | [inline] |
Default constructor, performs no initialization.
PxClothParticle::PxClothParticle | ( | const PxVec3 & | pos_, | |
PxReal | invWeight_ | |||
) | [inline] |
PxReal PxClothParticle::invWeight |
inverse mass of the particle. If set to 0, the particle is fully constrained.
position of the particle (in cloth local space)