diff options
Diffstat (limited to 'PhysX_3.4/Source/SimulationController/src/ScElementInteractionMarker.h')
| -rw-r--r-- | PhysX_3.4/Source/SimulationController/src/ScElementInteractionMarker.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/PhysX_3.4/Source/SimulationController/src/ScElementInteractionMarker.h b/PhysX_3.4/Source/SimulationController/src/ScElementInteractionMarker.h index 58e69069..743de966 100644 --- a/PhysX_3.4/Source/SimulationController/src/ScElementInteractionMarker.h +++ b/PhysX_3.4/Source/SimulationController/src/ScElementInteractionMarker.h @@ -32,6 +32,7 @@ #define PX_COLLISION_ELEMENT_INTERACTION_MARKER #include "ScElementSimInteraction.h" +#include "ScNPhaseCore.h" namespace physx { @@ -62,6 +63,7 @@ PX_INLINE Sc::ElementInteractionMarker::ElementInteractionMarker(ElementSim& ele PX_UNUSED(active); PX_ASSERT(!active); getScene().registerInteraction(this, false); + getScene().getNPhaseCore()->registerInteraction(this); } } |