Overview of the VRM Avatar Demo
mainThe VRM Avatar demo is a point-to-walk implementation built on XRBlocks. It demonstrates how to integrate VRM (Virtual Reality Model) avatars into an XR environment.
Key features include:
- VRM Loading: Uses
@pixiv/three-vrmto load.vrmfiles. - Animation Retargeting: Retargets CC0 Mesh2Motion GLB animations onto the VRM humanoid skeleton.
- Interaction: Users can click (mouse) or pinch (XR) on the floor to command the avatar to walk to that location and return to an idle state.
- Procedural Animation: Includes procedural eye blinking via the VRM expression manager and crossfades between idle and walk animations.
- Compatibility: Works in both the XRBlocks desktop simulator and WebXR environments.