Fab Store
Home / Docs / Fab Products / BodycamKit / Setup
BodycamKitUnreal Engine 5.8 · Windows · Code plugin · Free
Get on Fab ↗

Setup

There is nothing to wire up in the Game Animation Sample. This page explains what the plugin does to your project and how to use it with another character.

Requirements

  • Unreal Engine 5.8 on Windows.
  • The engine's Mover plugin enabled. The Game Animation Sample already has it on. Epic marks Mover as experimental.

What it adds to your project

ItemWhereWhen
M_BodycamKit_Lens/Game/BodycamKitFirst editor start
ABP_BodycamKit_FirstPerson/Game/BodycamKitFirst editor start
One line that cooks /Game/BodycamKitConfig/DefaultGame.iniFirst editor start
Bodycam Kit ComponentThe local player's pawnAt runtime only

Your character Blueprints and Anim Blueprints are not edited. Run BodycamKit.RebuildAssets in the editor console to build the assets again.

How it runs

Press F to switch between third and first person.
Press F to switch between third and first person.
  1. Auto attach. When play begins, the plugin adds the Bodycam Kit Component to the pawn of every local player.
  2. View solver. The component puts ABP_BodycamKit_FirstPerson on the character mesh as a post process Anim Blueprint. It runs the view solver and then the mesh's own post process, so twist and corrective bones keep working.
  3. First person. F moves the camera to the head bone and switches the character to strafe locomotion, so the body faces the view.
  4. Camera modifier. The view, lens and camera motion are applied through a camera modifier, so it works with a plain Camera Component and with the Gameplay Cameras system.

View solver

The Bodycam Kit First Person View AnimGraph node turns the spine, neck and head so the head looks where the player aims, sharing the rotation over a chain of bones. What the head cannot reach is handed to the camera, so the view stays on the aim even at the limits. While a montage plays (vault, mantle, climb) or the character ragdolls, the animation owns the camera; afterwards the aim continues from where the head looked.

Using your own character

BodycamKit is made for the Game Animation Sample mannequin and has only been tested with it. Another character can be set up if it follows these rules:

NeedDefaultWhere to change
A head boneheadComponent → Head Bone
A neck boneneck_01Component → Neck Bone
A spine-to-head chain, each bone the direct parent of the nextspine_03, spine_04, spine_05, neck_01, neck_02, headView solver node → Chain
The direction the mesh faces in its reference pose+YComponent and node → Mesh Forward
A bool that makes the body face the viewWantsToStrafeComponent → Strafe Variable
  1. Pick the mesh. Set Project Settings → Plugins → Bodycam Kit → Character Mesh to your skeletal mesh.
  2. Rebuild. Run BodycamKit.RebuildAssets in the editor console. One Anim Blueprint serves one skeleton.
  3. Face the view. If your pawn has no strafe variable, make it face the control rotation yourself (for example Use Controller Rotation Yaw) or turn off Native Turn In Place.

Packaging

The lens material and the first person Anim Blueprint are loaded by path, so nothing references them. The plugin therefore adds /Game/BodycamKit to Project Settings → Packaging → Additional Asset Directories to Cook. If you move the assets, update the paths in the plugin settings and that list.

ESC