Adding a Control Rig to a Custom NPC in UEFN (Without Verse) for Head Tracking
Summary:
In Unreal Editor for Fortnite (UEFN), you can add a Control Rig to a custom NPC for animation purposes, but making the NPC's head automatically track the closest player—without using Verse—has significant limitations. Below is a precise breakdown of what is possible and the exact workflow, based strictly on UEFN's current capabilities and documentation.
Step-by-Step: Adding a Control Rig to a Custom NPC
1. Prepare Your Custom NPC and Skeleton
- Import your custom skeletal mesh and ensure it is properly rigged.
- Create an NPC Character Definition asset and assign your custom mesh to it, using the appropriate IK Rig and retargeting setup if needed[3][4].
2. Add the NPC to the Scene
- Drag the NPC Spawner device into your level.
- Assign your custom NPC Character Definition to the spawner[3][4].
3. Add a Control Rig for Animation (Sequencer Workflow)
- Create a Level Sequence in your Content Browser.
- Open the Sequencer Editor.
- Add your NPC Spawner to the sequence by clicking +Track > Actor to Sequencer > NPC Spawner.
- Click the + icon next to the NPC Spawner in the track list, then select Control Rig > Control Rig Classes > FK Control Rig. This gives you access to the NPC's skeleton for manual animation[1].
4. Animate the Head Manually
- In the Sequencer, you can now keyframe the head bone (or any bone) using the Control Rig.
- To make the head "track" a player, you must manually animate the head bone to look at the desired target at each keyframe. There is no built-in, non-Verse way to automate this to always follow the closest player during gameplay[1][7].
What You Cannot Do Without Verse
-
Automatic Head Tracking:
UEFN does not currently provide a built-in, device-based or Control Rig-only solution to make an NPC's head dynamically track the closest player during live gameplay, without using Verse scripting.
- Control Rig in Sequencer is for pre-authored, non-interactive animation (e.g., cutscenes)[1].
- There is no device or modifier in the NPC Character Definition or Spawner that enables dynamic bone targeting based on player proximity[3].
-
Blueprints/AnimBP Approach:
While standard Unreal Engine allows you to use Animation Blueprints and Control Rig nodes to drive bones based on gameplay logic[10], UEFN restricts runtime logic to Verse or built-in device behaviors. Animation Blueprints are not exposed for runtime logic in UEFN.
Comparison Table: UEFN vs. Unreal Engine (Standard)
| Feature | UEFN (No Verse) | Unreal Engine (Standard) |
|---|
| Add Control Rig to NPC | Yes (via Sequencer) | Yes |
| Animate Head in Sequencer | Yes (manual keyframes) | Yes |
| Dynamic Head Tracking (Gameplay) | No (without Verse) | Yes (via Blueprints/AnimBP) |
| Device/Modifier for Head Tracking | No | N/A |
| Use Animation Blueprint Logic | No | Yes |
Conclusion
- You can add a Control Rig to a custom NPC in UEFN and animate the head in Sequencer, but this is for pre-authored, non-interactive animation only.
- There is no way, without Verse, to make the NPC's head dynamically track the closest player during gameplay in UEFN.
- All dynamic, runtime behaviors (like tracking the closest player) require Verse scripting in UEFN.
References:
[1] Epic Games Documentation: Using the NPC Spawner with Animations in UEFN
[3] YouTube: Create Custom AI NPCs in UEFN Without Using Verse
[10] Unreal Engine Forums: How to add control rig to blueprint class
If you need dynamic head tracking, you must use Verse. For cutscenes or static sequences, use Control Rig in Sequencer to manually animate the head.