Skip to content

CAimConstraint

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

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

Relationships

Inherits from: CBaseConstraint

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

Memory layout

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

CBaseConstraintCAimConstraint

OffsetFieldTypeFromAnnotations
0x20m_nameCUtlStringCBaseConstraint
0x28m_vUpVectorVectorCBaseConstraint
0x38m_slavesCUtlLeanVector< CConstraintSlave >CBaseConstraint
0x48m_targetsCUtlVector< CConstraintTarget >CBaseConstraint
0x60m_qAimOffsetQuaternion
0x70m_nUpTypeuint32
KV3 class defaults
{
	"_class": "CAimConstraint",
	"m_name": "",
	"m_vUpVector":
	[
		0.000000,
		0.000000,
		0.000000
	],
	"m_slaves":
	[
	],
	"m_targets":
	[
	],
	"m_qAimOffset":
	[
		0.000000,
		0.000000,
		0.000000,
		1.000000
	],
	"m_nUpType": 0
}