motion.module
This package holds more than this page lists. See all of its files in its world.
README.md
avatarTemplates.motion
The clips every template body moves with, made as keyframes on the template skeleton. Each
clip is the table skeleton.clipToTable answers ({ name, duration, channels, bone_names }),
its bones the VRM 1.0 bone names of the template skeleton, whose every rest rotation is the
identity, so a clip retargets onto any humanoid body.
| Member | What it is |
|---|---|
styles | the gait styles a locomotion set is made in (neutral, feminine, masculine) and how far each moves the hips, arms and shoulders |
gaits | the walk, run and sprint: their period, stride and the speed the stride covers |
locomotion(style, hipsRest) | the clips of a locomotion set, keyed by the Locomotion component's clip slots: idle; walk, run and sprint in four directions; jump, fall and land |
emotes | the starter emotes in menu order, { name, key, length, loop }: wave, cheer, clap, point, dance, sit, laugh and thumbs up |
emoteClipName(name) | the name a starter emote's clip carries |
emote(name, hipsRest, style?) | the clip of a starter emote |
avatarTemplates.locomotion and avatarTemplates.emotes write these clips into a world.