: Use the in-game console to type record .
For a visual walkthrough on managing complex 3D rigs and exporting them, check out this guide: GL-TF2.mp4
: Use the command startmovie h264 to export directly to a video format, or export as a sequence of TGA images and WAV audio for higher quality. : Use the in-game console to type record
: Libraries like pygltflib allow you to manipulate glTF 2.0 objects programmatically before rendering. GL-TF2.mp4