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