码迷,mamicode.com
首页 > 编程语言 > 详细

【VR】Leap Motion 官网文档 Unity资源与插件

时间:2015-05-02 18:09:48      阅读:330      评论:0      收藏:0      [点我收藏+]

标签:leap motion   unity   vr   

前言:

Leap Motion的官网文档已经有不少的热心网友参与了翻译,但没有覆盖官网文档的全部。

为迎合Unity VR的热潮与大家的学习需要,本博客将推出针对Unity方向的官方文档翻译系列。

本篇首先对Leap Motion所提供的Unity资源与插件进行概述。


英文原文网址:https://developer.leapmotion.com/documentation/unity/index.html

译文首发&持续更新:http://blog.csdn.net/duzixi


Leap Motion Unity Assets and Plugin  资源与插件

The Leap Motion Unity assets provide an easy way to get motion-controlled hands into a Unity game.

Leap Motion 的Unity 资源让Unity游戏获取控制运动的手模型变得非常方便。


System Requirements  系统要求

  • Leap Motion 2.2.4  以上版本
  • Unity 5.0  版本
  • Windows 7, Windows 8, Mac OS X 

Installation  安装步骤

  1. Download the latest asset package from: https://developer.leapmotion.com/downloads/unity.

    下载最新资源包,下载地址:https://developer.leapmotion.com/downloads/unity

  2. Open or create a project.

    创建一个新的工程

  3. Select the Unity Assets > Import Package > Custom Package menu command.

    选择Unity资源菜单 Assets > Import Package > Custom Package

  4. Locate the downloaded asset package and click Open.

    The assets are imported into your project.

    选择下载的资源包并点击Open按钮,将资源包导入到工程中。

Every development and client computer must also install the Leap Motion service software (which runs automatically after it is installed).

所有的开发和客户端电脑都需要安装Leap Motion 服务软件(安装后将自动运行)。

Troubleshooting 常见问题处理

If you do not see hands after adding the HandController prefab to a scene and pressing play, check the following:

如果在往场景中添加了 HandController 预设体,并运行之后不能看到手模型,那么需要检查以下项目:

  • The hands are within the scene camera’s field of view, not obscured by another 3D object, and are large enough to be visible. The 3D hands appear above the location of the HandController prefab.
  • 手模型需要放在场景相机的视野之内,没有被其他3D模型遮挡,并且要足够大,保证能被看到。3D的手模型将出现在HandController 预设体所放置的位置之上。
  • Pause the game and check to see if the hand models are in the Unity editor hierarchy view. If, so, find them in the editor scene view.
  • 暂停游戏,检查手模型是否在Unity的层次视图之中。如果在,那么在场景视图中找到树模型。
  • Make sure that the Unity Editor (or app if running outside the editor) has the OS input focus. (The Leap Motion Service only sends data to the active application.)
  • 确保运行中的Unity编辑器游戏视图(或Unity应用窗口)在操作系统中有输入焦点,即窗口被选中。(Leap Motion 服务只向激活状态的应用程序发送数据)
  • Check that the Leap Motion icon in the task bar is green. If it has gone dark, the service isn’t sending out data. In this case, double check that the Leap Motion hardware is plugged in and check that the service is running.
  • 检查任务栏中的Leap Motion 图标是否是绿色状态。如果颜色变暗,服务将不会发送数据。在这种情况下,双击图标确认Leap Motion硬件是否被插入,服务是否在运行中。
  • Open the Leap Motion Visualizer from the task bar icon menu. If you see hands in the Visualizer, the problem is most likely within the Unity plugin, scripts, or your own application. If there are no hands in the Visualizer, the problem is outside Unity.
  • 点击任务栏图标,打开Leap Motion 观察器。如果在观察器重能够看到手模型,说明问题很可能出现在Unity插件,脚本以及Unity应用程序里。如果观察器中没有看到说,则说明不是Unity方面的问题。

【VR】Leap Motion 官网文档 Unity资源与插件

标签:leap motion   unity   vr   

原文地址:http://blog.csdn.net/duzixi/article/details/45441015

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!