如何在Unity中開發Leap Motion案頭版(Non-VR)APP

來源:互聯網
上載者:User

標籤:scripts   inter   amr   3.0.0   例子   int   core   interface   pca   

最近因需要,翻出幾年前的Leapmotion感測器,準備用Unity3D做個互動APP,於是連上官網下載SDK。
等下載下來一安裝調試,瞬間傻眼,居然要求VR裝置。
我們Lab倒是不缺VR,有幾套VIVE,不過不能保證甲方也有啊,所以得解決這件事。

首先,說明一下新版Leapmotion有2個版本的SDK:
1、Orion(VR版)
2、V2 Tracking(老版)

所以,得用V2版的,需要安裝2個東西:
1、V2 Tracking SDK(目前的版本 2.3.1)
2、Unity Core Assets(目前的版本 3.0.0)

本以為裝上直接運行Sample即可,哪知道突然蹦出一堆Warning!

經過一番折騰,終於搞定可以順利運行例子,需要3步:

1. Refine classUnityEngine.VR.VRNode -> UnityEngine.XR.XRNodeOVRCameraRig.cs2. Copy Files - LeapMotionVR/CamRecorder/Scripts/    CamRecorder.cs    CamRecorderInterface.cs    LeapCameraAlignment.cs3. Copy Files - OVR/Scripts    OVRPlugin.cs

PS:等我調試好之後突然手欠,下載了2.3.0版本的 UnityCoreAssets,匯入直接運行沒有任何Warning。

南授香菇,我想靜一靜~QQ

如何在Unity中開發Leap Motion案頭版(Non-VR)APP

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.