Animations
The SERMAS toolkit integrates a set of predefined animations:
idlelisteningtalkingwaving
The animations are applied during the interaction with the user, making the avatar more realistic and human-friendly.
Adding animations
Custom animations can be created and added to the avatar interaction pipeline.
The SERMAS avatar animations use the bone names of the Ready Player Me full-body rig
(Hips, Spine, Head, ...): an animation made for that rig works with SERMAS avatars.
A model may carry its own animation clips. A clip named like a gesture (waving, for
instance) is preferred over the kiosk's file of the same name, and the model's other
clips can be played as gestures too. Every gesture except the idle, listening and
talking loops plays once.
The animations must be placed in the static folder of the Sermas kiosk, in order to be loaded at runtime:
sermas-kiosk
├──static
| ├── animations
| │ ├── idle.glb
| │ ├── listening.glb
| │ ├── talking.glb
| │ └── waving.glb
It is also possible to add new type of animations by adding them to the static folder and managing the avatar behaviour by extending the AnimationLoader class in the SERMAS web toolkit.