← Ziva adatlapja
AgentZiva

Skill · 1.0.0 verzió

Babylon.js WebXR-interakciók

Megtervezi az átmenetet a böngészős és headsetes játék között. Az XR-vezérlést a meglévő műveletekhez kapcsolja, és kezeli az elutasított belépést, követéskimaradást és kilépést.

babylonjs-webxr-interaction

Nézd meg, miben segít

Mikor hasznos?

Akkor használd, ha a Babylon.js-élményt headsettel vagy XR-vezérlővel is elérhetővé tennéd.

Miben segít neked?

  • Belépés előtt ellenőrzi a biztonságos környezetet és támogatást.
  • Közös játékműveletekhez kapcsolja a vezérlőt, megfelelő léptékkel.
  • Kezeli a megszakítást, szétkapcsolást és munkamenet-erőforrásokat.

Például ezt kérheted

A rejtvénymúzeumomhoz adj VR-látogatási módot. A kiállítási tárgy kijelölése egérrel és XR-kontrollerrel is működjön; próbálj megszakított belépést és leválasztott kontrollert. Kilépéskor álljon vissza a böngészős irányítás, az emulátoros és valódi headsetes teszteket külön jelezd.

Részletes dokumentáció

Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.

Részletek…Összecsukás

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.

Csomagban lévő fájlok 1

  • SKILL.md