MasterNin ECSAnimator
On this page

13 - Generic Armored Crawler Crowd

Generic crawler crowd in Play

Open Scenes/13_GenericCrowd.unity and enter Play. A 50 x 50 formation alternates 1,250 Jade and 1,250 Amber crawlers, playing the default Idle state. This is a four-legged creature with a 12-bone Generic, non-Humanoid skeleton. Breathing, head motion and tail motion are animated; no Humanoid retargeting is used.

This is now the Generic creature crowd entry. Use the bottom toolbar for Crawler / Bat; each page shows its two original variants. Switching pages destroys the old 2,500 actors, restores the selected camera and explicitly rebinds it to CharacterRuntime. Bat resources remain in folder 20 with unchanged GUIDs and Resources keys.

The scene reuses Demo01's Crowd2500Scene: its two serialized character slots contain the two crawler EntityDesc assets. The character count, lifecycle scope, batch spawning and overview camera remain the same. For a close view in Play, set Main Camera Position to (-28.5, 1.7, -32), Rotation to (20, 0, 0) and Field of View to 45; stop Play to restore the overview. The crowd is a functional example, not a performance benchmark.

Source and conversion

Load ECSAnimator/19_GenericCrawler/ArmoredCrawler_Jade/ArmoredCrawler_Jade_EntityDesc with Resources.Load<CharacterRuntimeAsset>, prepare it and spawn through CharacterRuntime. The Amber variant follows the same naming rule. Exact Controller parameter names and full state keys are used by CharacterAnimator, as in Demo11.

Generic clips must match the source rig's transform paths and bind pose. This sample does not add cross-skeleton retargeting, root-motion gameplay, Unity IK callbacks, multi-Animator composition or animation of arbitrary non-bone component properties. No runtime pose constraints are configured here; see Demo14 for the separate LocalResolve two-bone IK API. Models and clips are original sample content authored in Blender; Blender is not needed to run or reconvert the supplied FBX/Prefab assets.