PxModifiableContact Struct Reference

A modifiable contact point. This has additional fields per-contact to permit modification by user. More...

#include <PxContact.h>

Inheritance diagram for PxModifiableContact:
Collaboration diagram for PxModifiableContact:

Public Member Functions

 PX_ALIGN (16, PxVec3 normal)
 Contact normal. More...
 
- Public Member Functions inherited from PxExtendedContact
 PX_ALIGN (16, PxVec3 targetVelocity)
 Target velocity. More...
 

Public Attributes

PxReal restitution
 Restitution coefficient. More...
 
PxU32 materialFlags
 Material Flags. More...
 
PxU16 materialIndex0
 Shape A's material index. More...
 
PxU16 materialIndex1
 Shape B's material index. More...
 
PxReal staticFriction
 static friction coefficient More...
 
PxReal dynamicFriction
 dynamic friction coefficient More...
 
- Public Attributes inherited from PxExtendedContact
PxReal maxImpulse
 Maximum impulse. More...
 
- Public Attributes inherited from PxContact
PxVec3 contact
 Contact point in world space. More...
 
PxReal separation
 Separation value (negative implies penetration). More...
 

Detailed Description

A modifiable contact point. This has additional fields per-contact to permit modification by user.

Note
Not all fields are currently exposed to the user.

Member Function Documentation

◆ PX_ALIGN()

PxModifiableContact::PX_ALIGN ( 16  ,
PxVec3  normal 
)

Contact normal.

Member Data Documentation

◆ dynamicFriction

PxReal PxModifiableContact::dynamicFriction

dynamic friction coefficient

◆ materialFlags

PxU32 PxModifiableContact::materialFlags

Material Flags.

◆ materialIndex0

PxU16 PxModifiableContact::materialIndex0

Shape A's material index.

◆ materialIndex1

PxU16 PxModifiableContact::materialIndex1

Shape B's material index.

◆ restitution

PxReal PxModifiableContact::restitution

Restitution coefficient.

◆ staticFriction

PxReal PxModifiableContact::staticFriction

static friction coefficient


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