1 か月前 · Jul 2, 2026 6:33 PM
To read bone positions (Head, Neck, Pelvis, Hands, Feet) in CS2:
- Read
pPawn + m_pGameSceneNode. - Read
m_pGameSceneNode + m_modelState + 0x80to get theBoneArraypointer. - Each bone is a
RenderBonestructure containing a 3D position vector:
CPP
struct RenderBone {
Vector3 position;
float scale;
Quaternion rotation;
};
Vector3 GetBonePosition(uintptr_t pPawn, int boneIndex) {
uintptr_t sceneNode = Read<uintptr_t>(pPawn + m_pGameSceneNode);
uintptr_t boneArray = Read<uintptr_t>(sceneNode + m_modelState + 0x80);
return Read<Vector3>(boneArray + (boneIndex * 32)); // 32 bytes per bone struct
}Head bone index is 6 in Source 2.