Skip to content

CTwistConstraint

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

Kind: classSize: 144 bytes (0x90)Alignment: 16 bytesModule: modellibBinary: !GlobalTypes

Relationships

Inherits from: CBaseConstraint

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

Memory layout

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

CBaseConstraintCTwistConstraint

OffsetFieldTypeFromAnnotations
0x20m_nameCUtlStringCBaseConstraint
0x28m_vUpVectorVectorCBaseConstraint
0x38m_slavesCUtlLeanVector< CConstraintSlave >CBaseConstraint
0x48m_targetsCUtlVector< CConstraintTarget >CBaseConstraint
0x60m_bInversebool
0x70m_qParentBindRotationQuaternion
0x80m_qChildBindRotationQuaternion
KV3 class defaults
{
	"_class": "CTwistConstraint",
	"m_name": "",
	"m_vUpVector":
	[
		0.000000,
		0.000000,
		0.000000
	],
	"m_slaves":
	[
	],
	"m_targets":
	[
	],
	"m_bInverse": false,
	"m_qParentBindRotation":
	[
		0.000000,
		0.000000,
		0.000000,
		1.000000
	],
	"m_qChildBindRotation":
	[
		0.000000,
		0.000000,
		0.000000,
		1.000000
	]
}