Constraints for cloth particle motion.
More...
#include <PxClothTypes.h>
Constraints for cloth particle motion.
Defines a spherical volume to which the motion of a particle should be constrained.
- See Also
- PxCloth.setMotionConstraints()
PxClothParticleMotionConstraint::PxClothParticleMotionConstraint |
( |
| ) |
|
|
inline |
Default constructor, performs no initialization.
PxClothParticleMotionConstraint::PxClothParticleMotionConstraint |
( |
const PxVec3 & |
p, |
|
|
PxReal |
r |
|
) |
| |
|
inline |
PxVec3 PxClothParticleMotionConstraint::pos |
Center of the motion constraint sphere (in cloth local space)
PxReal PxClothParticleMotionConstraint::radius |
Maximum distance the particle can move away from the sphere center.
The documentation for this struct was generated from the following file: