# Self-configuring procedural rigs

FocalRig is a performant procedural animation toolkit for Unreal Engine's Control Rig. Add pixel-perfect aiming, true first person, weapon handling, and eye motion to your Anim Blueprint. Rig a custom character in minutes.

[Get on Fab](/fab) | [Download Demo](/demo) | [Quick Start](README.md#quick-start) | [Tutorials](/tutorials)

[![FocalRig procedural animation showcase](_media/hero-showcase.poster.webp)](_media/hero-showcase.mp4)

## Precise Procedural Aim

Aim Offsets simply blend additive upperbody poses. FocalRig does an efficient full-body adjustment for perfect aim.

[![Aim Offset compared with FocalRig procedural aiming](_media/aim-offset-vs-focalrig.poster.webp)](_media/aim-offset-vs-focalrig.mp4)

## Quick Setups

Drop in a node. Its first Quick Setup is applied automatically.

Each FocalRig node scans your skeleton and generates [Quick Setups](quick-setups.md) for common configurations. The first one is applied when you place the node, filling in the bones, axes, and limits automatically. Right-click the node to choose another Quick Setup. Customize everything from there, or leave the defaults and move on.

[![FocalRig automatically configuring a Control Rig node](_media/quick-setup-loop.poster.webp)](_media/quick-setup-loop.mp4)

## Third Person

Full-body procedural look-at from a single pose.

[Aim Chain](aim-chain.md) smoothly rotates the entire spine to make a point-of-view bone aim exactly at a target. [Leg adjustment](aim-chain.md#limb-adjustment) pins the feet so they stay planted when the pelvis turns. [Aim clamping](clamp-aim-target.md) prevents impossible poses and never interpolates through the back.

[![Third-person procedural look and aim](_media/third-person.poster.webp)](_media/third-person.mp4)

## True First Person

Turn any third-person character into a full-body first-person avatar.

- [Full Body Solver](first-person-view.md)
- [Traced Aim](first-person-aim-target.md)
- [Head Bob](first-person-camera-control.md#head-bob)
- [Idle Sway](first-person-camera-control.md#idle-sway)
- [Landing Dip](first-person-camera-control.md#landing-dip)
- [World Collision](first-person-camera-control.md#world-collision)

[![True first-person full-body character animation](_media/first-person.poster.webp)](_media/first-person.mp4)

## Weapon Aiming

Precise aiming, ADS, and secondary motion for any weapon.

- [Perfect Aim](aim-weapon.md)
- [Aim Down Sights](aim-weapon.md#aim-down-sights)
- [Recoil Kick](aim-weapon.md#kick)
- [Moving Bob](aim-weapon.md#weapon-bob)
- [Idle Sway](aim-weapon.md#idle-sway)
- [Landing Dip](aim-weapon.md#landing-dip)
- [Aim Lock](aim-weapon.md#aim-lock-weight)
- [Arm Adjustment](aim-weapon.md#arm-adjustment)

[![Procedural weapon aiming and secondary motion](_media/weapon-aiming.poster.webp)](_media/weapon-aiming.mp4)

## Spray Patterns

Make weapons and camera recoil with authored or procedural patterns.

Draw patterns on a [2D grid editor](spray.md#spray-pattern-asset) with drag-and-drop, preview them at any fire rate, and store them as data assets that you can use within Control Rig and Blueprint traces. Ships with built-in presets for SMGs, assault rifles, LMGs, and shotguns.

[![Authored and procedural weapon spray patterns](_media/spray-patterns.poster.webp)](_media/spray-patterns.mp4)

## Eye Darts

The difference between lifelike and lifeless.

Eyes aim at the target with spring-damped tracking and realistic [saccades](aim-eyes.md#saccades): small random micro-movements between fixation points, just like real eyes. Configurable angle limits and minimum distance prevent cross-eyed looks at close targets.

[![Procedural eye aiming and saccades](_media/eye-aiming.poster.webp)](_media/eye-aiming.mp4)

## Built for Performance

An entire character rig runs in under 100 microseconds on a worker thread. That's less than a single Full-Body IK node.

- Less than 100 microseconds for a full-body rig tick
- Multi-threaded rigs that run concurrently on worker threads
- About 3 milliseconds of game-thread time for 100 characters

[![FocalRig performance with 100 animated characters](_media/performance.poster.webp)](_media/performance.mp4)

_Measured on a Ryzen 9 5900X CPU with 100 characters running Aim Chain, Aim Weapon, and Aim Eyes._

## Add FocalRig to Your Animation Stack

Get FocalRig on Fab and add production-ready procedural animation with self-configuring Control Rig nodes.

[Get on Fab](/fab) | [Download Demo](/demo)

[Documentation](README.md) | [Tutorials](/tutorials) | [Discord](/discord) | [support@focalrig.com](mailto:support@focalrig.com)
