Log inGet started
Package

CastActor.component

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

CastActor

Drives one 3D cast member of "Kicked Out of the Hero's Party". It sits on the root of a cast character bundle (put there by Cast3D.spawnCharacter) beside a Humanoid component, and rebuilds the character's visuals on every peer from its synced fields: the baked anime cel material on the skinned mesh, the current action's clip through a ClipPlayer on that mesh, and each worn gear model seated on the character's own Humanoid avatar point.

fieldmeaning
charactercast id, a key of Cast3D.CHARACTERS
actionaction playing now, a key of Cast3D.CLIPS
afteraction a one-shot returns to (empty: the character's idle)
noncebumped by Cast3D.play to restart the same action
gearworn gear ids, comma separated; ^id wears a weapon sheathed on the back
celwear the cel material (false: the generated PBR look)
speedclip playback speed

Use Cast3D.play, Cast3D.equip, Cast3D.unequip and Cast3D.wearSet rather than writing the fields by hand. Nothing it spawns is saved or synced, so a reload or a late joiner gets the same character from the fields alone.