Sphere representation used for cloth-sphere and cloth-capsule collision. More...
#include <PxClothCollisionData.h>
Public Member Functions | |
PxClothCollisionSphere () | |
Default constructor, performs no initialization. More... | |
PxClothCollisionSphere (const PxVec3 &p, PxReal r) | |
Public Attributes | |
PxVec3 | pos |
position of the sphere More... | |
PxReal | radius |
radius of the sphere. More... | |
Sphere representation used for cloth-sphere and cloth-capsule collision.
Cloth can collide with spheres and capsules. Each capsule is represented by a pair of spheres with possibly different radii.
|
inline |
Default constructor, performs no initialization.
PxVec3 PxClothCollisionSphere::pos |
position of the sphere
PxReal PxClothCollisionSphere::radius |
radius of the sphere.