RavEngine
Loading...
Searching...
No Matches
physx::PxConstraintInfo Struct Reference

Descriptor for a broken constraint. More...

#include <PxSimulationEventCallback.h>

Collaboration diagram for physx::PxConstraintInfo:
[legend]

Public Member Functions

PX_INLINE PxConstraintInfo (PxConstraint *c, void *extRef, PxU32 t)
 

Public Attributes

PxConstraint * constraint
 The broken constraint.
 
void * externalReference
 The external object which owns the constraint (see PxConstraintConnector::getExternalReference())
 
PxU32 type
 Unique type ID of the external object. Allows to cast the provided external reference to the appropriate type.
 

Detailed Description

Descriptor for a broken constraint.

An array of these structs gets passed to the PxSimulationEventCallback::onConstraintBreak() report.

See also
PxConstraint PxSimulationEventCallback.onConstraintBreak()

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