Public Attributes | List of all members
PxContactPairPoint Struct Reference

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

#include <PxSimulationEventCallback.h>

Collaboration diagram for PxContactPairPoint:
Collaboration graph
[legend]

Public Attributes

PxVec3 position
 The position of the contact point between the shapes, in world space. More...
 
PxReal separation
 The separation of the shapes at the contact point. A negative separation denotes a penetration. More...
 
PxVec3 normal
 The normal of the contacting surfaces at the contact point. The normal direction points from the second shape to the first shape. More...
 
PxU32 internalFaceIndex0
 The surface index of shape 0 at the contact point. This is used to identify the surface material. More...
 
PxVec3 impulse
 The impulse applied at the contact point, in world space. Divide by the simulation time step to get a force value. More...
 
PxU32 internalFaceIndex1
 The surface index of shape 1 at the contact point. This is used to identify the surface material. More...
 

Detailed Description

A contact point as used by contact notification.

Member Data Documentation

PxVec3 PxContactPairPoint::impulse

The impulse applied at the contact point, in world space. Divide by the simulation time step to get a force value.

Referenced by PxContactPair::extractContacts().

PxU32 PxContactPairPoint::internalFaceIndex0

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

Referenced by PxContactPair::extractContacts().

PxU32 PxContactPairPoint::internalFaceIndex1

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

Referenced by PxContactPair::extractContacts().

PxVec3 PxContactPairPoint::normal

The normal of the contacting surfaces at the contact point. The normal direction points from the second shape to the first shape.

Referenced by PxContactPair::extractContacts().

PxVec3 PxContactPairPoint::position

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

Referenced by PxContactPair::extractContacts().

PxReal PxContactPairPoint::separation

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-2015 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com