NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxClothCollisionSphere Struct Reference

NVIDIA PhysX SDK 3.4 API

PxClothCollisionSphere Struct Reference
[Cloth]

Sphere representation used for cloth-sphere and cloth-capsule collision. More...

#include <PxClothCollisionData.h>

Collaboration diagram for PxClothCollisionSphere:

List of all members.


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.

Detailed Description

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.

Deprecated:
The PhysX cloth feature has been deprecated in PhysX version 3.4.1

Constructor & Destructor Documentation

PxClothCollisionSphere::PxClothCollisionSphere (  )  [inline]

Default constructor, performs no initialization.

PxClothCollisionSphere::PxClothCollisionSphere ( const PxVec3 p,
PxReal  r 
) [inline]


Member Data Documentation

position of the sphere

radius of the sphere.


The documentation for this struct was generated from the following file:



Copyright © 2008-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com