#include <PxClothTypes.h>
Public Member Functions | |
PxClothParticleSeparationConstraint () | |
Default constructor, performs no initialization. | |
PxClothParticleSeparationConstraint (const PxVec3 &p, PxReal r) | |
Public Attributes | |
PxVec3 | pos |
Center of the constraint sphere (in cloth local space). | |
PxReal | radius |
Radius of the constraint sphere such that the particle stay outside of this sphere. |
Defines a spherical volume such that corresponding particles should stay outside.
PxClothParticleSeparationConstraint::PxClothParticleSeparationConstraint | ( | ) | [inline] |
Default constructor, performs no initialization.
PxClothParticleSeparationConstraint::PxClothParticleSeparationConstraint | ( | const PxVec3 & | p, | |
PxReal | r | |||
) | [inline] |
Center of the constraint sphere (in cloth local space).
Radius of the constraint sphere such that the particle stay outside of this sphere.