Pedestrian Behavior Blueprint¶
The Pedestrian Behavior package is the set of HERCULES-authored Blueprints that populate the city world with walking pedestrians. They are spline followers: each pedestrian carries (or is assigned) a spline and walks along it with a looping walk animation, which makes them deterministic and cheap — 20 to 150 of them run in the HERCULES city levels. The character meshes come from scanned-people, mannequin and character packs (not MetaHumans), linked below.
Download¶
HERCULES_PedestrianBehavior_Blueprints_v1.0.zip
The zip on the releases page contains only the HERCULES Blueprints (22 of them, plus README.md, MANIFEST.json and the MIT LICENSE). Meshes, animations and materials are third-party content — linked, not shipped — see Using Blueprint Packages.
| Blueprint | What it is | Character pack |
|---|---|---|
BP_SplineHuman |
Base class: own Spline component + Character skeletal mesh playing one walk animation, moved along the spline every tick (loops) |
Scanned 3D People Pack (rp_eric, walk rp_nathan) |
BP_SplineHuman_Type2 … _Type5 |
Children: Renderpeople scans rp_claudia, rp_carla, rp_manuel, rp_sophia |
Scanned 3D People Pack (free) |
BP_SplineHuman_Type6 … _Type9 |
Children: SK_Military_Survivalist_1..4 |
"Military" pack |
BP_SplineHuman_Type10 |
Child: SK_Survival_Character |
"Survival Character" pack (+ 1 City Sample Crowd material) |
BP_SplineHuman_Type11 |
Child: SM_Military_4 |
"Military" + MyGirl12 materials |
BP_SplineHuman_Type12 … _Type14 |
Children: SK_Skin_1/2/4 |
Male 3 (+ MyGirl12 / Military assets) |
BP_SplineHuman_Girl1, _Girl2 |
Children: SKM_MyGirl12 |
MyGirl12 (Girl2 also Male 3 + City Sample Crowd materials) |
BP_SplineHuman_Mannequin1, _Mannequin3 |
Children: UE5 SKM_Quinn_Simple / SKM_Manny_Simple |
"Survival Character" pack demo folder (+ Military material) |
BP_SplineHuman_Mannequin2 |
Child: UE4 SK_Mannequin + ThirdPersonWalk |
In the repo: Unreal/Environments/DynamicObjects/Content/GroupedAI (+ Military material) |
BP_SplinePath |
Path actor: just a Spline component |
— |
BP_SplineMotionHuman, BP_SplineMotionHumanGirl |
Follow an external BP_SplinePath (variable Spline To Follow) with a T_Move Timeline; Reverse / ReverseFromEnd make them ping-pong |
"Survival Character" + "Military" walk / MyGirl12 |
Almost everything is free
Every pack below is free on Fab except Male 3. BP_SplineHuman and Type2–Type5 need only the Renderpeople pack; Mannequin2 needs only the repo's GroupedAI folder (and renders with a default body material without the Survivalist pack). Only Type12–Type14 (and the extra materials of Girl2) need the paid Male 3 character; install it only if you want those variants.
Requirements¶
| Requirement | Notes |
|---|---|
| Unreal Engine 5.2.1 | Version HERCULES is built against; no extra plugin |
| HERCULES AirSim plugin | Only needed to see the pedestrians in the robots' sensor streams (install) |
| Scanned 3D People Pack (Renderpeople, free) | Expected at /Game/Scanned3DPeoplePack/RP_Character/ |
GroupedAI folder from this repository (free) |
Copy Unreal/Environments/DynamicObjects/Content/GroupedAI into Content/ — it is also the Dynamic Objects minimal walking-AI example |
| City Sample Crowds (Epic, free, optional) | Four materials used by Girl2, Type8, Type10; without it those variants render with default materials |
Survivalist (Slayver, free) — one man in four outfit variants; installs as the Military folder (SK_Military_Survivalist_1..4, SM_Military_4, Demo_animations/Walk) |
Expected at /Game/Military/. Also supplies the walk animation of most non-Renderpeople variants. The same character is included in Slayver's paid Modular military character pack, which is not needed |
Survival Character (Arberry, free) — leather-jacket man with backpack and baseball bat (SK_Survival_Character + demo mannequins SKM_Manny_Simple, SKM_Quinn_Simple, MF_Walk_Fwd) |
Expected at /Game/Survival_Character/. Not the seller's paid Survival 01–05 listings |
Modern Female : Winter Girl 12 (BOXTANK2025, free) — glasses, red/black knit sweater, black pants (SKM_MyGirl12, AS_MyGirl14_Walk) |
Expected at /Game/MyGirl12/. The listing text mentions one walk animation; the Blueprints expect it under the name AS_MyGirl14_Walk |
| Male 3 (legacy Unreal Marketplace character; the seller's Fab listings Male 4 / Male 5 link to it) | Expected at /Game/Male_3/ |
Checking a pack
The listings above were matched to the lab's installed copies by their asset names and import paths; MANIFEST.json in the zip lists every asset path each Blueprint expects, so a Failed to load line after installing a pack tells you exactly which asset differs. Male 3 is a legacy Marketplace product without its own Fab page; the seller's Male 4 / Male 5 listings link to it. No NavMesh is needed — the pedestrians follow splines, not the navigation system.
Install into your Unreal project¶
- Unzip and copy the
Contentfolder onto your project root, so the Blueprints land in<Project>/Content/HERCULES/Agents/Pedestrians/. - Add the packs you need from Fab / the Epic Games Launcher (keep the default folder names), and copy the repo's
GroupedAIfolder intoContent/forMannequin2. - Open the project. Variants whose pack is missing load with an empty mesh and one Failed to load warning each; the rest work.
Usage¶
Self-contained pedestrians (BP_SplineHuman family)
- Drag a variant into the level and select its
Splinecomponent; add / move spline points to draw the walk path (default: a 1 m straight segment). The pedestrian walks the spline from start to end and jumps back to the start — close the loop by ending near where it starts. - Set
Spline Speed(cm/s, default 150) andDistance Along Spline(start offset, default 0) per instance so a crowd on the same path does not walk in lock-step. - Play.
Path-following pedestrians (BP_SplineMotionHuman family)
- Place
BP_SplinePathactors and shape their splines (sidewalks, crossings). - Place
BP_SplineMotionHuman/BP_SplineMotionHumanGirlactors and set Spline To Follow on each to one of the paths.Reverse/ReverseFromEndplay the Timeline backwards / start from the far end, so two actors on one path can walk toward each other. - Play. The HERCULES level
CustomCityHercules_DynamicObjectsuses 124 paths and 20 of these actors;CustomCityHercules_NOAIuses 19 self-containedBP_SplineHumanvariants.
Parameters¶
| Parameter | Where | Default | Description |
|---|---|---|---|
Spline Speed |
BP_SplineHuman + children (instance-editable) |
150 cm/s | Walking speed along the own spline |
Distance Along Spline |
BP_SplineHuman + children |
0 cm | Start offset |
| spline points | Spline component of each instance |
2 points, 100 cm | The walk path |
Spline To Follow |
BP_SplineMotionHuman(Girl) |
None | BP_SplinePath actor to follow |
Reverse, ReverseFromEnd |
BP_SplineMotionHuman(Girl) |
false | Direction / ping-pong |
mesh, Anim to Play |
Character component |
per variant | Swap the character or the walk cycle; the component runs in Animation Single Node mode, so any looping walk animation for that skeleton works |
Crowd density is simply the number of actors you place; there is no spawner. To add a look, duplicate BP_SplineHuman_Type2 and change the mesh and animation on its Character component.
Sensor integration¶
- No registration call is needed for placed pedestrians: they are added to instance segmentation automatically at simulation start. Only actors spawned at runtime need
AddNewActorToInstanceSegmentation— see Using Blueprint Packages. - The LWIR thermal camera classifies warm bodies by the (case-insensitive) keywords
humanorpersonin the segmentation name, which for these single-mesh actors is the actor name —BP_SplineHuman_Type3_...andBP_SplineMotionHuman_...already match. If you rename actors, keepHumanin the name or add anOverridesentry matching your name. - For object detection, filter on the actor names, e.g.
simAddDetectionFilterMeshName(camera, ImageType.Scene, "BP_SplineHuman*"). A small test scene is oneBP_VehicleAIon aBP_SplineRoadplus twoBP_SplineHumanvariants; the detection boxes follow the moving actors. - Pedestrians at night are a natural target for the night-vision camera in search-and-rescue style scenarios.
See the Dynamic Environmental Phenomena overview and the Environments for these agents in context.