NB! It seems this console command is not compatible with CS2.
Command Profile

CL_CAMERA_FOLLOW_BONE_INDEX

CS:GO

This command adjusts how the camera follows the index of the bone.

Syntax
cl_camera_follow_bone_index [-2 / -1 / 0]

Description

This command adjusts how the camera follows the index of the bone.

How To Use cl_camera_follow_bone_index

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter cl_camera_follow_bone_index [-2 / -1 / 0], replacing bracketed arguments with the value you want, then press Enter.

This legacy command is not currently listed as compatible with Counter-Strike 2.

Syntax And Arguments

cl_camera_follow_bone_index [-2 / -1 / 0]
-2 / -1 / 0 The different settings for the command. -2 disables the command, -1 sets it to follow the root bone and 0 sets it to the bone index.