xrift-world
Installation
SKILL.md
XRift World Development Guide
A guide for creating and modifying WebXR worlds for the XRift platform.
References
- API Reference - Full specification of all hooks, components, and constants in
@xrift/world-components - Code Templates - Implementation patterns for GLB models, textures, Skybox, interactions, and more
- Type Definitions - Type definitions for User, PlayerMovement, VRTrackingData, TeleportDestination, WorldInfo, InstanceInfo, ConfirmOptions, Tag, VideoState, LogEntry, PhysicsConfig, CameraConfig, VoiceVolumeOverrideContextValue
Critical Rules (Must Follow)
- Always use
baseUrlfromuseXRift()when loading assets - Place asset files in the
public/directory baseUrlincludes a trailing/, so join with${baseUrl}path(${baseUrl}/pathis WRONG)
// Correct
const { baseUrl } = useXRift()
Related skills