Godot VR
БесплатноЗапускает вложенные скриптыНе проверенBuild & headless-verify Godot 4.7 OpenXR/VR apps — room-scale workflow, Pimax Crystal tested in-visor, controller-binding pitfalls covered.
от blueboyzx313 установок в других каталогахОб этом скилле
Build a Godot 4 (OpenXR) VR app and verify it headlessly on a Windows host
(no editor, no headset needed during the build/verify loop). Deliver a real,
running project verified by execution — not a description. (Sibling of
blender-headless; different engine, same headless-verify discipline.)
When to Use
- The user wants a Godot 4 VR/AR or OpenXR app (headset target like Pimax Crystal — works on either Pimax runtime once the action-map/tracker binding is right; see the reference).
- You must headless-verify a Godot 4 scene without the editor: import → headless run → non-headless screenshot.
- You hit Godot 4.7 parse/runtime errors on render / particles / physics / XR APIs — the reference holds the working forms.
Environment (Windows)
- Godot 4.7.x win64 standard build (standard, not .NET — it has OpenXR compiled in) from the godotengine releases page; use the
_consoleexe for scriptable runs. Reuse an existing install (confirm with--version) before downloading. - Headless build/verify needs no OpenXR runtime installed. For in-visor testing on a Pimax Crystal: the first-party runtime ships inside Pimax Play (
C:\Program Files\Pimax\, Pimax OpenXR 0.1.0). **Pimax Crystal controllers work in Godot on BOTH Pimax OpenXR 0.1.0 and PimaxXR (Unofficial) 0.4.4** once the action map + tracker binding are correct (seereferences/xr-controller-troubleshooting.md); SteamVR unverified. - Put the project on a local drive with room to grow (assets + import cache).
- In Hermes's bash terminal on Windows, argument path conversion is off: pass drive-letter paths (
C:/...) to native binaries (Godot, Blender, python) — MSYS/c/...forms work for bash builtins (cd,ls) only.
Workflow (in order)
- Scaffold
project.godot:config/features=PackedStringArray("4.7","Forward Plus")(do NOT include"OpenXR"— it triggers a false-positive editor warning; runtime OpenXR is driven by[xr] openxr/enabled=true, not the feature tag),[rendering] renderer/rendering_method="forward_plus", an[xr]block withopenxr/enabled=true,openxr/always_in_xr=true,shaders/enabled=true, and a 1600x900 viewport. - Build the scene procedurally in code — primitives only, no external assets (that is the default here). One
main.gdon the root node builds: Environment (glow/bloom + fog), a directional "moon" light,OmniLight3Dpoint lights for the glow, and the geometry (trees, props, a focal glowing centerpiece). - XR root:
XROrigin3D→ childrenXRCamera3D+ twoXRController3D, eachtracker="left_hand"/"right_hand"(the tracker namesOpenXRInterface::find_tracker()registers withXRServer),pose="grip"(or"aim"),show_when_tracked=true. ⚠️XRController3Dhas NO auto-detect: an emptytracker→get_tracker("")→ null → the node never binds (frozen pose,hand=0, invisible hands). Settrackerexplicitly to"left_hand"/"right_hand". Neverpose="default"(unreliably bound → controllers silently stop tracking). Seereferences/xr-controller-troubleshooting.md. - Grab without a plugin: native
XRController3D+ a world-space ray (get_world_3d().direct_space_state.intersect_ray(PhysicsRayQueryParameters3D.create(from,to))). The GodotVR XR-Interaction plugin is unavailable (no such repo exists in the GodotVR org — its maintained grab toolkit isgodot-xr-tools, but the native ray grab avoids the dependency) — do not block on it. - Fallback camera + self-screenshot so the scene is checkable without a headset: in
_ready, if no XR session, add aCamera3Dpointed at the scene; if the run was given a marker arg (e.g.--preview), wait ~12 frames thenget_viewport().get_texture().get_image().save_png(path)andget_tree().quit(). - Headless-verify (OpenXR OFF — see gate below) until 0 script errors; confirm the startup self-test print shows the
XROrigin3Dwith itsXRCamera3D+ both controllers. - GPU screenshot: run NON-headless with the marker arg and
--xr-mode off(on any machine with an OpenXR runtime installed, the runtime may init without a headset and silently blank the window) → PNG, then vision-check it (real geometry/lighting, not a blank/solid-color frame). Confirm the run exited and left no orphangodotprocess (see the reference's process-hygiene note). - Re-enable OpenXR for delivery (
openxr/enabled=true; leave"OpenXR"out ofconfig/features). The in-visor feel is the user's final check.
Pitfalls
- OpenXR +
--headlessstalls in the main loop, AFTER_ready— scene load and every_readyrun and print normally, then the engine enters the main loop, detects the HMD, and hangs to timeout (no display/form factor). So a short-timeout headless run IS a valid no-headset check that a code edit landed:timeout 20 <bin> --headless --path <proj> 2>&1 | grep -iE "Parse Error|SCRIPT ERROR|not found in base|ready"surfaces scene-load parse errors and your `
Установить Godot VR в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Godot VR?
Build & headless-verify Godot 4.7 OpenXR/VR apps — room-scale workflow, Pimax Crystal tested in-visor, controller-binding pitfalls covered.
Как установить скилл Godot VR?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Godot VR запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic