PhysX SDK 3.2 API Reference: PxContactPoint Struct Reference

PhysX SDK 3.2 API

PxContactPoint Struct Reference

A contact point as used by contact modification. More...

#include <PxContact.h>

List of all members.


Public Member Functions

 PX_ALIGN (16, PxVec3 normal)
 The normal of the contacting surfaces at the contact point.
 PX_ALIGN (16, PxVec3 point)
 The point of contact between the shapes, in world space.

Public Attributes

PxReal separation
 The separation of the shapes at the contact point. A negative separation denotes a penetration.
PxU32 internalFaceIndex0
 The surface index of shape 0 at the contact point. This is used to identify the surface material.
PxU32 internalFaceIndex1
 The surface index of shape 1 at the contact point. This is used to identify the surface material.

Detailed Description

A contact point as used by contact modification.

Member Function Documentation

PxContactPoint::PX_ALIGN ( 16  ,
PxVec3  point 
)

The point of contact between the shapes, in world space.

PxContactPoint::PX_ALIGN ( 16  ,
PxVec3  normal 
)

The normal of the contacting surfaces at the contact point.


Member Data Documentation

The surface index of shape 0 at the contact point. This is used to identify the surface material.

Referenced by PxContactPair::extractContacts().

The surface index of shape 1 at the contact point. This is used to identify the surface material.

Referenced by PxContactPair::extractContacts().

The separation of the shapes at the contact point. A negative separation denotes a penetration.

Referenced by PxContactPair::extractContacts().


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



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