Skip to content

CMorphConstraint

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

Kind: classSize: 128 bytes (0x80)Alignment: 8 bytesModule: modellibBinary: !GlobalTypes

Relationships

Inherits from: CBaseConstraint

Inheritance tree
Relationship diagram (2 edges)
classDiagram
    CBoneConstraintBase <|-- CBaseConstraint
    CBaseConstraint <|-- CMorphConstraint
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CBaseConstraintCMorphConstraint

OffsetFieldTypeFromAnnotations
0x20m_nameCUtlStringCBaseConstraint
0x28m_vUpVectorVectorCBaseConstraint
0x38m_slavesCUtlLeanVector< CConstraintSlave >CBaseConstraint
0x48m_targetsCUtlVector< CConstraintTarget >CBaseConstraint
0x60m_sTargetMorphCUtlString
0x68m_nSlaveChannelint32
0x6cm_flMinfloat32
0x70m_flMaxfloat32
KV3 class defaults
{
	"_class": "CMorphConstraint",
	"m_name": "",
	"m_vUpVector":
	[
		0.000000,
		0.000000,
		0.000000
	],
	"m_slaves":
	[
	],
	"m_targets":
	[
	],
	"m_sTargetMorph": "",
	"m_nSlaveChannel": 0,
	"m_flMin": 0.000000,
	"m_flMax": 1.000000
}