What problem does it solve?
This Skill solves the problem of integrating real-time multiplayer functionality into XR Blocks applications, providing presence avatars, replicated object transforms, and cooperative ownership, among other features.
Core Features & Use Cases
- Real-time Multiplayer: Enables presence avatars, replicated
NetObject transforms, and cooperative ownership for shared or co-located XR experiences.
- Opt-in Spatial Voice: Allows for voice communication over pluggable transports like WebRTC and WebSocket.
- Transport Flexibility: Supports local development with
BroadcastChannelTransport and scalable rooms with WebSocketTransport.
- Use Case: Ideal for building collaborative XR experiences like demos, classrooms, and co-presence sessions.
Quick Start
Enable multiplayer for your XR Blocks app by running the command: enableNet(), and join a room using joinRoom(), specifying the desired transport and display name.