THE MAN I INVENTED / Lead Programmer

Animation framework

First-person sci-fi action survival · USC MFA thesis

Explore implementation and demos by engineering responsibility. Footage and captures show their recorded versions.

Animation framework

01

Animation structure reuse

  1. Shared C++ animation data
  2. Skeleton-free AnimBP templates
  3. Role / weapon child AnimBPs

Shared animation instances provide speed, direction and airborne state. Templates arrange pose flow; role and weapon children bind their own skeletons and clips.

Example · Maintenance Worker body and first-person AnimBPs inherit shared templates. Switching guns does not require copying the role’s whole locomotion graph.

02

First-person animation

  1. ArmsViewMesh
  2. First-person host template
  3. Equipped weapon layer

The arms have their own AnimInstance. The host routes the weapon layer and common view offsets; the weapon layer supplies holding, movement and jump poses.

Example · The Repair Gun first-person AnimBP inherits the firearm template and fills in its clips; equipping links its weapon layer.

03

Third-person animation

  1. Body locomotion template
  2. Copy arms upper-body pose
  3. Full body and shadow

The full body keeps its own leg locomotion. Before output, its AnimBP copies the arms’ local bone pose and blends it above spine_01.

Example · After turning or switching guns, the shadow keeps body locomotion below the waist while its weapon upper body matches the player view.

04

Animation templates

  1. Skeleton-free template
  2. Parent Asset Overrides
  3. Concrete animation assets

Body, first-person host and firearm layer each have templates. Templates hold state machines or layer routing without binding one role’s skeleton; child AnimBPs override animation assets.

Example · TABP_FirstPersonFirearmBase defines Idle / Move / Jump flow; ABP_RepairGun_FirstPerson fills its Repair Gun clips through Parent Asset Overrides.

05

Animation Blueprint interface

  1. ALI_WeaponAnim
  2. WeaponAimOffset / WeaponUpperBody
  3. Dynamic weapon layer link

ALI_WeaponAnim defines aim and upper-body layer entry points. Equipment supplies a layer class implementing the interface; equip and unequip link or unlink it without hardcoding every gun in the role graph.

Example · Repair Gun and Explosion Gun have separate first-person layers. Switching equipment replaces the current layer while the host calls the same interface.

Weapon lag and sprint bone offsets

Weapon lag

Turning gives the first-person weapon root a brief offset from mouse input. Spring and damping return it to the authored holding position without moving the camera.

Bone offsets while sprinting

Movement direction drives lean and pitch bone adjustments in the AnimBP. Sprinting interpolates them faster and lowers the arms and weapon into a running pose.

Weapon lag & sprint bone offsets

Watch for: Watch the weapon shift and settle while turning, then the arm and weapon pose while sprinting.