CSmartPropElement_PropPhysics
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 464 bytes (0x1d0)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes
Metadata: MPropertyDescription Places a prop physics entity. MPropertyFriendlyName Prop Physics
Relationships
Inherits from: CSmartPropElement_ModelEntity
Inheritance tree
CSmartPropElement
CSmartPropElement_ModelEntity
- CSmartPropElement_PropPhysics
Relationship diagram (2 edges)
classDiagram
CSmartPropElement <|-- CSmartPropElement_ModelEntity
CSmartPropElement_ModelEntity <|-- CSmartPropElement_PropPhysicsMemory layout
12 fields, 1 declared here and 11 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropElementCSmartPropElement_ModelEntityCSmartPropElement_PropPhysics
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_nElementID | int32 | CSmartPropElement | MPropertySuppressField MVDataUniqueMonotonicInt _editor/next_element_id |
0x10 | m_bEnabled | CSmartPropAttributeBool | CSmartPropElement | MPropertyDescription Is this element enabled? If not enabled, this element will not be evaluted and will have no effect on the result. MPropertySortPriority 10 MVDataEnableKey |
0x50 | m_sLabel | CUtlString | CSmartPropElement | MPropertyDescription Optional text that will appear in the outliner to help organize Smart Prop elements and communicate their purpose to other users. MPropertyFriendlyName Label |
0x58 | m_SelectionCriteria | CUtlVector< CSmartPropSelectionCriteria* > | CSmartPropElement | MPropertyFriendlyName Selection Criteria MVDataPromoteField 2 |
0x70 | m_Modifiers | CUtlVector< CSmartPropModifier* > | CSmartPropElement | MPropertyFriendlyName Modifiers MVDataPromoteField 2 |
0x88 | m_sModelName | CSmartPropAttributeModelName | CSmartPropElement_ModelEntity | MPropertyDescription Name of the model resource (.vmdl) to place. MPropertyProvidesEditContextString ToolEditContext_ID_VMDL |
0xc8 | m_MaterialGroupName | CSmartPropAttributeMaterialGroup | CSmartPropElement_ModelEntity | MPropertyDescription Specifies the name of the material group (skin) to use when displaying the specified model. MPropertyFriendlyName Material Group |
0x108 | m_bCastShadows | CSmartPropAttributeBool | CSmartPropElement_ModelEntity | MPropertyDescription Should the entity created by this element cast shadows. MPropertyFriendlyName Cast Shadows |
0x148 | m_bForceStatic | CSmartPropAttributeBool | CSmartPropElement_ModelEntity | MPropertyDescription Force this model to be placed as a static model rather then generating an entity. MPropertyFriendlyName Force Static |
0x188 | m_nDeformableAttachmentMode | SmartPropDeformableAttachMode_t | CSmartPropElement_ModelEntity | MPropertyDescription If the smart prop is child of a deformable entity, this setting specifies how the entity generated by this element will be attached to the deformable surface. MPropertyFriendlyName Attachment Mode MPropertyGroupName Deformable Entity Settings MPropertySortPriority -1 MPropertySuppressExpr m_bForceStatic == true |
0x18c | m_nDeformableOrientationMode | SmartPropDeformableOrientMode_t | CSmartPropElement_ModelEntity | MPropertyDescription If the smart prop is child of a deformable entity, this setting specifies how the entity generated by this element will be oriented relative to the deformable surface. MPropertyGroupName Deformable Entity Settings MPropertySortPriority -1 MPropertySuppressExpr m_bForceStatic == true |
0x190 | m_bStartAsleep | CSmartPropAttributeBool | MPropertyDescription Should this physics prop start in a sleeping (non-simulating) state such that it won't update until it is woken up by an external event. |
KV3 class defaults
{
"_class": "CSmartPropElement_PropPhysics",
"m_nElementID": -1,
"m_bEnabled": true,
"m_sLabel": "",
"m_SelectionCriteria":
[
],
"m_Modifiers":
[
],
"m_sModelName": "",
"m_MaterialGroupName": "",
"m_bCastShadows": true,
"m_bForceStatic": false,
"m_nDeformableAttachmentMode": "RELATIVE",
"m_nDeformableOrientationMode": "MAINTAIN_OFFSET",
"m_bStartAsleep": false
}