# Vr Ar

> VR/AR 开发原则。舒适度、交互、性能要求。

- **Type:** Skill
- **Install:** `agentstack add skill-misonl-ling-vr-ar`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [MisonL](https://agentstack.voostack.com/s/misonl)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [MisonL](https://github.com/MisonL)
- **Source:** https://github.com/MisonL/Ling/tree/main/.agents/skills/game-development/vr-ar
- **Website:** https://www.npmjs.com/package/@mison/ling

## Install

```sh
agentstack add skill-misonl-ling-vr-ar
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# VR/AR 开发

> 沉浸式体验原则。

---

## 1. 平台选择

### VR 平台

| 平台 | 用途 |
| --- | --- |
| **Quest** | 独立、无线 |
| **PCVR** | 高保真 |
| **PSVR** | 主机市场 |
| **WebXR** | 浏览器端 |

### AR 平台

| 平台 | 用途 |
| --- | --- |
| **ARKit** | iOS 设备 |
| **ARCore** | Android 设备 |
| **WebXR** | 浏览器 AR |
| **HoloLens** | 企业级 |

---

## 2. 舒适度原则

### 晕动症预防

| 原因 | 解决方案 |
| --- | --- |
| **Locomotion（移动）** | 传送、瞬转 |
| **Low FPS（低帧率）** | 维持 90 FPS |
| **Camera shake（相机抖动）** | 避免或最小化 |
| **Rapid acceleration（快速加速）** | 渐进移动 |

### 舒适设置

- 移动时的晕影（Vignette）
- 瞬转与平滑转向
- 坐姿与站姿模式
- 高度校准

---

## 3. 性能要求

### 目标指标

| 平台 | FPS（帧率） | 分辨率 |
| --- | --- | --- |
| Quest 2 | 72-90 | 1832x1920 |
| Quest 3 | 90-120 | 2064x2208 |
| PCVR | 90 | 2160x2160+ |
| PSVR2 | 90-120 | 2000x2040 |

### 帧预算

- VR 需要一致的帧时间
- 掉一帧 = 可见的抖动
- 90 FPS = 11.11ms 预算

---

## 4. 交互原则

### 控制器交互

| 类型 | 用途 |
| --- | --- |
| **Point + click** | UI、远处物体 |
| **Grab** | 操作 |
| **Gesture** | 魔法、特殊动作 |
| **Physical** | 投掷、挥舞 |

### 手部追踪

- 更沉浸但精度较低
- 适合：社交、休闲
- 挑战：动作、精度

---

## 5. 空间设计

### 世界比例

- 1 单位 = 1 米（关键）
- 物体必须感觉大小合适
- 用真实测量进行测试

### 深度线索

| 线索 | 重要性 |
| --- | --- |
| Stereo（立体） | 主要深度 |
| Motion parallax（运动视差） | 次要 |
| Shadows（阴影） | 接地感 |
| Occlusion（遮挡） | 分层 |

---

## 6. 反模式

| [FAIL]  禁止 | [OK]  推荐 |
| --- | --- |
| 移动相机而不移动玩家 | 玩家控制相机 |
| 低于 90 FPS | 维持帧率 |
| 使用微小的 UI 文本 | 大而易读的文本 |
| 忽略手臂长度 | 依据玩家触及范围缩放 |

---

> **记住：** 舒适度不是可选项。生病的玩家不会玩游戏。

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [MisonL](https://github.com/MisonL)
- **Source:** [MisonL/Ling](https://github.com/MisonL/Ling)
- **License:** MIT
- **Homepage:** https://www.npmjs.com/package/@mison/ling

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-misonl-ling-vr-ar
- Seller: https://agentstack.voostack.com/s/misonl
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
