Babylon.js-WebXR-Interaktionen
Plant den Wechsel zwischen Browser- und Headset-Spiel. Verbindet XR-Controller mit vorhandenen Aktionen und behandelt abgelehnten Einstieg, Tracking-Unterbrechungen und Ausstieg, ohne den Spieler festzusetzen.
babylonjs-webxr-interaction
Entdecke, wie der Skill hilftWann ist der Skill hilfreich?
Nutze diesen Skill für Babylon.js-Erlebnisse mit Headsets oder XR-Controllern.
Wobei hilft er dir?
- Prüft sicheren Kontext und Geräteeignung vor dem Einstieg.
- Verbindet XR-Steuerung mit gemeinsamen Spielbefehlen und passendem Maßstab.
- Behandelt Abbruch, Verbindungsverlust und Sitzungsabbau; benennt offene Headsetprüfungen.
Das könntest du fragen
Ergänze unser Rätselmuseum um einen VR-Besuchsmodus. Wähle Exponate mit Maus und XR-Controller, brich den Einstieg ab und trenne einen Controller. Stelle beim Verlassen die Browsersteuerung wieder her und unterscheide Emulatorprüfungen von Tests mit einem echten Headset.
Ausführliche Dokumentation
Hier findest du die ursprüngliche Anleitung, Beispiele und Prüfschritte des Skills in ihrer Originalsprache.
Weniger anzeigen
Babylon.js — webxr interaction
Use when the requested Babylon experience includes WebXR sessions or XR controller interaction.
Version and project gate
Inspect package.json and lockfile, Babylon package family and exact version, engine creation, WebGL/WebGPU choice, canvas hosting, loaders, physics plugin version and asset ownership. Keep Babylon Lite and the full engine APIs distinct. Never turn a task into an engine upgrade without the user’s intent. Read the version-matching official reference when an API decision depends on it.
Work
Check secure-context and device/session support before designing the flow. Define entering, leaving and failed XR transitions. Map controller/select intent to the same gameplay commands as non-XR input; preserve scale and comfort requirements and dispose session-owned features.
Deliver
An XR session/interaction contract plus a usable non-XR entry or explicit unsupported state. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.
Failure to prevent
A desktop browser preview does not prove headset support, tracking quality or comfort.
Acceptance scenario
Cancel session entry, disconnect a controller, leave XR and re-enter; identify physical-device checks still outstanding. Follow the project’s execution and verification permissions. If execution or a target device is unavailable, provide the reproduction steps and name the remaining uncertainty; do not mark it passed.
Scope and sources
This skill belongs to Ziva. Agent selection is restricted by Orqestria’s assigned-agent policy, including forced skill selection; instruction text alone is not an access control. These are original task workflows researched from official documentation, not a copied or endorsed vendor skill.
Enthaltene Dateien 1
SKILL.md
