Archive

All work

Personal project

Zombie Physics

An AI zombie in Unreal Engine driven by physics: a physics asset built from scratch, physical animation, and body parts that can be shot off.

Role
Technical animation, Blueprints
Tools
Unreal Engine 4 (Blueprints)
Links
The piece on ArtStation

The goal

I wanted an AI zombie working inside a game engine. Most of the work went into the physics asset, but I also built detachable body parts and other mechanics a zombie survival game needs. The problem solving taught me a lot about Blueprints and rigging.

  • Physics asset: physical animation and constraints
  • Animation Blueprint: movement, looking at a target and a shifting centre of mass
  • Character Blueprint: pawn sensing (seeing and hearing) and detachable body parts

The character mesh, rig and animations are from Mixamo, the environment is from Epic Games and the gun comes from the Marketplace.

Physics asset

The physics asset is made from scratch, constraints included, with angular limits set for every physics body. Different physical animation values for different states of the character give the animations more variety and a more realistic feel.

Physics asset and constraints
Angular limits
Physical animation, low and high values

Detachable body parts

Detaching body parts is done entirely with Blueprints. I found no solution online, so I worked out my own rigging workflow and Blueprint logic. When a leg comes off, the animation changes from walking to crawling.

Shooting off an arm
Shooting off a leg

The Blueprint

The logic in four steps: save the pose and hide the bone, spawn the cut-off part as its own actor, hand it the saved pose, then let physics take over.