Leap Motion Assets 和 Playground 与 Leap Motion 有什么关系?

更新时间

两者都建立在 Leap Motion 的手部追踪能力之上,但定位不同:Playground 是给 Leap Motion V2 方向应用准备的物理玩具内容,Leap Motion Assets 是给 Unity 开发者用的手部交互工具集。如果你只是想体验用手操控物理对象,关注 Playground;如果你要在 Unity 里做手部追踪交互,关注 Leap Motion Assets。

Playground:面向 Leap Motion V2 的物理玩具

根据 Matt Tytel 个人网站上的描述,Playground 是一组“physics toys like constructable robots and pluckable flowers”,即物理玩具,例如可拼装的机器人和可拨动的花朵,并且明确说明是“designed for Leap Motion's V2 orientation app”。

这里有几个关键信息:

  • 内容形态:物理玩具,不是开发库。可拼装机器人、可拨动花朵这类对象,强调用手直接操作。
  • 目标平台:Leap Motion 的 V2 orientation app。也就是说,它面向的是 Leap Motion V2 时期的方向性应用场景,而不是一个通用的独立软件。
  • 交互方式:依赖 Leap Motion 的手部追踪,用户用手去抓、拼、拨,物理模拟负责反馈。

如果你手头有 Leap Motion 设备,并且运行的是对应的 V2 orientation app 环境,Playground 提供的是“能玩什么”的答案;脱离这个环境,它本身不是一个可以单独安装使用的工具。

Leap Motion Assets:Unity 里的手部交互工具

同一页面对 Leap Motion Assets 的描述是:“tools for Unity that handle rigged hand movement, hand creation/deletion, hand physics, and scripts for grabbing objects”。

拆开看,它解决的是 Unity 开发中的四类具体问题:

功能 作用
rigged hand movement 处理绑定骨骼的手部运动
hand creation/deletion 手部模型的创建与删除
hand physics 手部的物理表现
scripts for grabbing objects 抓取物体的脚本

也就是说,Leap Motion Assets 不是给最终用户玩的,而是给在 Unity 中接入 Leap Motion 手部追踪的开发者用的。它把“手怎么动、手怎么出现和消失、手怎么和物理世界互动、怎么抓东西”这些重复性工作封装成工具和脚本,开发者可以直接拿来搭建自己的手部交互场景。

两者的关系:同一套手部追踪,两种消费方式

把两者放在一起看,关系就清楚了:

  • 共同基础:都围绕 Leap Motion 的手部追踪交互展开。没有 Leap Motion 的手部输入,Playground 的物理玩具和 Leap Motion Assets 的手部运动都失去输入来源。
  • 一个偏体验内容,一个偏开发工具:Playground 是已经做好的、可以直接上手玩的物理玩具集合;Leap Motion Assets 是让开发者自己去做类似体验的 Unity 工具。
  • 面向对象不同:Playground 面向使用 Leap Motion V2 orientation app 的体验者;Leap Motion Assets 面向 Unity 开发者。

可以这样理解:Playground 展示了“用手玩物理对象”可以是什么样子,Leap Motion Assets 则把这套能力拆成可复用的 Unity 组件。如果你要做的是自己的手部交互项目,需要的是 Leap Motion Assets;如果你只是想看看 Leap Motion 上有什么现成的物理玩具,看 Playground。

选择建议

  • 有 Leap Motion 设备、想直接体验手部操控物理对象:了解 Playground,注意它面向的是 Leap Motion 的 V2 orientation app。
  • 在 Unity 里开发手部追踪交互:了解 Leap Motion Assets,它覆盖绑定手部运动、手部创建/删除、手部物理和抓取脚本。
  • 想找免费开源合成器:这两个项目都不是,Matt Tytel 网站上的 Helm 和 Cursynth 才是免费开源合成器,与 Leap Motion 无关。

需要说明的是,网站资料只给出了这些项目的定位和功能描述,没有提供下载入口、版本要求或安装步骤。实际使用前,建议以 Leap Motion 和 Unity 对应版本的官方文档为准。