diff options
Diffstat (limited to 'PhysX_3.4/Source/LowLevel')
| -rw-r--r-- | PhysX_3.4/Source/LowLevel/software/include/PxsIslandSim.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/PhysX_3.4/Source/LowLevel/software/include/PxsIslandSim.h b/PhysX_3.4/Source/LowLevel/software/include/PxsIslandSim.h index 3c9b363e..31ebe7b0 100644 --- a/PhysX_3.4/Source/LowLevel/software/include/PxsIslandSim.h +++ b/PhysX_3.4/Source/LowLevel/software/include/PxsIslandSim.h @@ -321,6 +321,8 @@ public: PX_FORCE_INLINE bool isActive() const { return !!(mFlags & eACTIVE); } + PX_FORCE_INLINE bool isActiveOrActivating() const { return !!(mFlags & (eACTIVE | eACTIVATING)); } + PX_FORCE_INLINE bool isActivating() const { return !!(mFlags & eACTIVATING); } PX_FORCE_INLINE bool isDeactivating() const { return !!(mFlags & eDEACTIVATING); } |