Entity systemClasses
CPhysicsProp
Schema class CPhysicsProp, derived from CBreakableProp.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CPhysicsProp.h
Inherits CBreakableProp
Fields
| Field | Type |
|---|---|
m_MotionEnabled | CEntityIOOutput |
m_OnAwakened | CEntityIOOutput |
m_OnAwake | CEntityIOOutput |
m_OnAsleep | CEntityIOOutput |
m_OnPlayerUse | CEntityIOOutput |
m_OnOutOfWorld | CEntityIOOutput |
m_OnPlayerPickup | CEntityIOOutput |
m_bForceNavIgnore | bool |
m_bNoNavmeshBlocker | bool |
m_bForceNpcExclude | bool |
m_massScale | float |
m_buoyancyScale | float |
m_damageType | int32_t |
m_damageToEnableMotion | int32_t |
m_flForceToEnableMotion | float |
m_bDroppedByPlayer | bool |
m_bTouchedByPlayer | bool |
m_bFirstCollisionAfterLaunch | bool |
m_bHasBeenAwakened | bool |
m_bIsOverrideProp | bool |
m_flLastBurn | float |
m_nDynamicContinuousContactBehavior | DynamicContinuousContactBehavior_t |
m_fNextCheckDisableMotionContactsTime | float |
m_iInitialGlowState | int32_t |
m_nGlowRange | int32_t |
m_nGlowRangeMin | int32_t |
m_glowColor | Color |
m_bShouldAutoConvertBackFromDebris | bool |
m_bMuteImpactEffects | bool |
m_nNavObstacleType | INavObstacle__NavObstacleType_t |
m_bUpdateNavWhenMoving | bool |
m_bForceNavObstacleCut | bool |
m_bAcceptDamageFromHeldObjects | bool |
m_bEnableUseOutput | bool |
m_CrateType | CPhysicsProp__CrateType_t |
m_strItemClass | CUtlSymbolLarge |
m_nItemCount | int32_t |
m_bRemovableForAmmoBalancing | bool |
m_bAwake | bool |
m_bAttachedToReferenceFrame | bool |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).