#include <PxClothTypes.h>
Public Member Functions | |
PxClothParticleMotionConstraint () | |
Default constructor, performs no initialization. | |
PxClothParticleMotionConstraint (const PxVec3 &p, PxReal r) | |
Public Attributes | |
PxVec3 | pos |
Center of the motion constraint sphere (in cloth local space). | |
PxReal | radius |
Maximum distance the particle can move away from the sphere center. |
Defines a spherical volume to which the motion of a particle should be constrained.
PxClothParticleMotionConstraint::PxClothParticleMotionConstraint | ( | ) | [inline] |
Default constructor, performs no initialization.
PxClothParticleMotionConstraint::PxClothParticleMotionConstraint | ( | const PxVec3 & | p, | |
PxReal | r | |||
) | [inline] |
Center of the motion constraint sphere (in cloth local space).
Maximum distance the particle can move away from the sphere center.