Skip to content

CPhysSurfaceProperties

CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json

Kind: classSize: 200 bytes (0xc8)Alignment: 8 bytesModule: modellibBinary: !GlobalTypes

Relationships

Inherits from: nothing; this is a root class.

Used by (1) as a field type

Inheritance tree
  • CPhysSurfaceProperties
Relationship diagram (4 edges)
classDiagram
    CPhysSurfaceProperties *-- CPhysSurfacePropertiesPhysics
    CPhysSurfaceProperties *-- CPhysSurfacePropertiesVehicle
    CPhysSurfaceProperties *-- CPhysSurfacePropertiesSoundNames
    CPhysSurfaceProperties *-- CPhysSurfacePropertiesAudio
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

9 fields, 9 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.

CPhysSurfaceProperties

OffsetFieldTypeFromAnnotations
0x0m_nameCUtlStringMKV3TransferName surfacePropertyName
0x8m_nameHashuint32
0xcm_baseNameHashuint32
0x18m_bHiddenboolMKV3TransferName hidden
0x20m_descriptionCUtlStringMKV3TransferName description
0x28m_physicsCPhysSurfacePropertiesPhysicsMKV3TransferName physics
0x40m_vehicleParamsCPhysSurfacePropertiesVehicleMKV3TransferName vehicleparams
0x48m_audioSoundsCPhysSurfacePropertiesSoundNamesMKV3TransferName audiosounds
0xa8m_audioParamsCPhysSurfacePropertiesAudioMKV3TransferName audioparams
KV3 class defaults
{
	"surfacePropertyName": "",
	"m_nameHash": 0,
	"m_baseNameHash": 0,
	"hidden": false,
	"description": "",
	"physics":
	{
		"friction": 0.000000,
		"elasticity": 0.000000,
		"density": 0.000000,
		"thickness": 0.100000,
		"softcontactfrequency": 0.000000,
		"softcontactdampingratio": 0.000000
	},
	"vehicleparams":
	{
		"wheeldrag": 0.000000,
		"wheelfrictionscale": 1.000000
	},
	"audiosounds":
	{
		"impactsoft": "",
		"impacthard": "",
		"scrapesmooth": "",
		"scraperough": "",
		"bulletimpact": "",
		"rolling": "",
		"break": "",
		"strain": "",
		"meleeimpact": "",
		"pushoff": "",
		"skidstop": "",
		"resonant": ""
	},
	"audioparams":
	{
		"audioreflectivity": 0.000000,
		"audiohardnessfactor": 0.000000,
		"audioroughnessfactor": 0.000000,
		"scrapeRoughThreshold": 0.000000,
		"impactHardThreshold": 0.000000,
		"audioHardMinVelocity": 0.000000,
		"staticImpactVolume": 0.000000,
		"occlusionFactor": 0.000000
	}
}