
Markerless Mocap for MetaHuman in Unreal Engine 5: webcam video to 3D body animation, no suit, scripted by Claude Code
2BFT Markerless Mocap is an open-source Claude Code skill, with the PowerShell, Python and ffmpeg scripts behind it, that turns an ordinary webcam video into 3D body animation on the MetaHuman skeleton in Unreal Engine 5.8, using Epic's free "MetaHuman Animator Markerless Motion Capture" plugin, driven headless with no editor window. It also retargets the result to the UE5 mannequin, renders previews and builds a side-by-side with your original take. MIT licensed, Windows + NVIDIA, tested on 27 Oct 2026.


Left: one of our webcam takes (the person is Navaratan of 2BFT; the background is removed). Right: the body motion the plugin solved from that video, retargeted to the UE5 mannequin and rendered in Unreal. The preview is played at 60 fps; the solve itself is 20 fps. Full quality: media/demo.mp4. This is a test result, not final animation (see Limits).
Install in 1 minute
npx skills add 2boysfromtown/markerless-mocap-metahuman-unreal-engine-5-webcam-video-to-3d-body-animation --global --agent claude-code
Or as a Claude Code plugin:
claude plugin marketplace add 2boysfromtown/markerless-mocap-metahuman-unreal-engine-5-webcam-video-to-3d-body-animation
claude plugin install 2bft-markerless-mocap@2bft
One-time setup (Epic's software, which this repo does not ship): Unreal Engine 5.8, the free Fab plugin MetaHuman Animator Markerless Motion Capture, and a project made from Epic's Third Person template (it holds the mannequin). Step by step: project/README.md. Then tell Claude:
Turn my webcam video into body animation with the markerless mocap skill: C:\videos\take01.mp4. Pick a stretch of 12 seconds where both feet stay in frame.
Try it without Claude (webcam video to animation in 7 commands)
$env:UE_ROOT = "C:\Program Files\Epic Games\UE_5.8" # folder that contains Engine\
$env:MOCAP_PROJECT = "C:\mocap\Mocap.uproject" # your project (see project/README.md)
$s = "skills/markerless-mocap-metahuman-ue5-webcam-to-animation/scripts"
powershell -NoProfile -ExecutionPolicy Bypass -File "$s/preflight.ps1" # engine, plugin, GPU, free memory (starts no Unreal)
bash "$s/cut_clip.sh" take01.mp4 6.5 18.5 C:/mocap/Footage/clips/take01_wave.mp4 # constant 20 fps, 14 s or less
powershell -NoProfile -ExecutionPolicy Bypass -File "$s/solve.ps1" -Clips take01_wave # about 4.3 min per 12-14 s clip, one Unreal per clip
powershell -NoProfile -ExecutionPolicy Bypass -File "$s/run_ue_script.ps1" -Script retarget_manny.py -Clips take01_wave
powershell -NoProfile -ExecutionPolicy Bypass -File "$s/run_ue_script.ps1" -Script build_preview.py -Clips take01_wave -AnimFmt "/Game/Mocap/Anims/Manny/A_{clip}_body_Manny"
powershell -NoProfile -ExecutionPolicy Bypass -File "$s/mrq_render.ps1" -Clip take01_wave # 20-30 s per clip
bash "$s/compare.sh" take01_wave # out/take01_wave_compare.mp4, webcam left, solve right
Real log output from our runs: examples/.
Results (measured on 27 Oct 2026, not estimated)