diff options
Diffstat (limited to 'PhysX_3.4/Source/SimulationController/src/ScActorSim.h')
| -rw-r--r-- | PhysX_3.4/Source/SimulationController/src/ScActorSim.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/PhysX_3.4/Source/SimulationController/src/ScActorSim.h b/PhysX_3.4/Source/SimulationController/src/ScActorSim.h index ffe93bcf..db30aba9 100644 --- a/PhysX_3.4/Source/SimulationController/src/ScActorSim.h +++ b/PhysX_3.4/Source/SimulationController/src/ScActorSim.h @@ -79,6 +79,8 @@ namespace Sc PX_FORCE_INLINE ElementSim* getElements_() { return mFirstElement; } PX_FORCE_INLINE const ElementSim* getElements_() const { return mFirstElement; } + PX_FORCE_INLINE PxU32 getNbElements() const { return mNumElements; } + // Get the type ID of the actor PX_FORCE_INLINE PxActorType::Enum getActorType() const { return mCore.getActorCoreType(); } @@ -113,6 +115,7 @@ namespace Sc mInteractions; ElementSim* mFirstElement; + PxU32 mNumElements; Scene& mScene; |