MonsterBody.component
This package holds more than this page lists. See all of its files in its world.
README.md
MonsterBody
The visible, animated anime body of a bestiary enemy. Put it on an aiKit enemy entity (beside aiKit.Brain, SecondWind health and, ideally, actionCombatKit's Telegraphed); Bestiary.spawn and Bestiary.dress add it for you. Its synced fields (kind, despawnAfterDeath, bossBar) are all a peer needs: each peer builds the kind's rigged, glitchToon-shaded model as a local, unsaved entity that follows the enemy, and animates it from the enemy's live state (idle, walk and run by speed; a slowed attack anticipation with a hot rim glow during the telegraph windup, then the strike; hit react and white flash when health drops; a long stagger when parried; death clip then a glowing dissolve). Boss kinds also show a barsKit boss bar and fire Bestiary phase events. Late joiners and reloads rebuild the same body from the fields.